Skip to content

Commit

Permalink
Re-enable CodeQL (#128)
Browse files Browse the repository at this point in the history
# Re-enable CodeQL

## ⚙️ Release Notes 
- Re-enable CodeQL

### Code of Conduct & Contributing Guidelines 

By submitting creating this pull request, you agree to follow our [Code
of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
- [x] I agree to follow the [Code of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
  • Loading branch information
PSchmiedmayer authored Jan 18, 2025
1 parent fbceff1 commit c6e8d77
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
id: get-latest-tag
with:
semver_only: true
initial_version: "2.0.1"
initial_version: "2.0.0"
- id: script
run: |
echo "Injecting Environment Variables In Deployment Workflow ..."
Expand Down
21 changes: 10 additions & 11 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,13 @@ jobs:
uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2
permissions:
contents: read
# codeql:
# name: CodeQL
# uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
# permissions:
# security-events: write
# actions: read
# contents: read
# with:
# codeql: true
# fastlanelane: codeql

codeql:
name: CodeQL
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
permissions:
security-events: write
actions: read
contents: read
with:
codeql: true
fastlanelane: codeql
8 changes: 4 additions & 4 deletions ENGAGEHF.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1676,7 +1676,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.0.1;
MARKETING_VERSION = 2.0.2;
PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.bdh.engagehf;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -1872,7 +1872,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.0.1;
MARKETING_VERSION = 2.0.2;
PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.bdh.engagehf;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -1916,7 +1916,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.0.1;
MARKETING_VERSION = 2.0.2;
PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.hrtex;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -2092,7 +2092,7 @@
repositoryURL = "https://github.com/StanfordSpezi/SpeziFirebase.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 2.0.1;
minimumVersion = 2.0.2;
};
};
2FE5DC8229EDD934004B9AB4 /* XCRemoteSwiftPackageReference "SpeziQuestionnaire" */ = {
Expand Down
5 changes: 4 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ APP_CONFIG = {
default_environment: "staging",
default_app_identifier: "edu.stanford.bdh.engagehf",
default_provisioningProfile: "Stanford BDHG ENGAGE-HF",
default_version_name: "2.0.1",
default_version_name: "2.0.0",
default_release_notes: "Bug fixes and performance improvements.",
scheme: "ENGAGEHF",
plist_path: "ENGAGEHF/Supporting Files/Info.plist"
Expand Down Expand Up @@ -84,6 +84,7 @@ platform :ios do
lane :codeql do
ENV["FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT"] = "320" # CodeQL runs on GitHub CI. We need much higher timeout here.
build_app(
scheme: APP_CONFIG[:scheme],
skip_archive: true,
skip_codesigning: true,
derived_data_path: ".derivedData",
Expand All @@ -97,6 +98,7 @@ platform :ios do
desc "Build app"
lane :build do
build_app(
scheme: APP_CONFIG[:scheme],
skip_archive: true,
skip_codesigning: true,
derived_data_path: ".derivedData",
Expand All @@ -118,6 +120,7 @@ platform :ios do
)

build_app(
scheme: APP_CONFIG[:scheme],
derived_data_path: ".derivedData",
xcargs: [
"-skipPackagePluginValidation",
Expand Down

0 comments on commit c6e8d77

Please sign in to comment.