You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All third-party actions SHA-pinned with the resolved tag in a comment.
Top-level permissions: block added to every workflow: contents: read baseline, pull-requests: write only where Danger / mikepenz/action-junit-report posts PR comments.
secrets: inherit replaced with explicit secret pass-through; reusable workflows now declare expected secrets in on: workflow_call: secrets:.
All ${{ ... }} shell interpolation in run: blocks refactored to env: variables with quoted shell expansions.
pull_request_target retained with # zizmor: ignore[dangerous-triggers] and an inline comment documenting the Member Check mitigation.
actions/checkout steps set with: persist-credentials: false.
xcodebuild logs archived on build failure (xcactivitylog) for diagnostic purposes.
After this change, zizmor --offline reports 0 High-confidence findings across all six CI workflows.
Test plan
Verified locally with python3 yaml.safe_load, actionlint -shellcheck=, zizmor --offline. All clean.
CI verification: opened test PR on personal fork (brandonpage/SalesforceMobileSDK-iOS#23) targeting the same cleanup-ci-w22712082 branch as this PR. The test PR triggers the new workflows against a real source change in SalesforceSDKCommon. No regressions observed — see linked PR for run details.
Reviewer to confirm the permissions: blocks match the team's expected privilege levels for each workflow.
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.21%. Comparing base (6c5ade7) to head (f542ccd). ⚠️ Report is 1 commits behind head on dev.
The reason will be displayed to describe this comment to others. Learn more.
I guess it is checking the work from today vs having a fresh run for tomorrow. I think we care more about our code changes than environment issues that could be introduced over the weekend.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements W-22712082 — Cleanup CI for all Repos.
Schedule changes:
nightly.yaml) → every weekday at 9 PM PT (0 5 * * 2-6UTC), up from Tue/Thu-only.ui-test-nightly.yaml) → every weekday at 11 PM PT (0 7 * * 2-6UTC), up from Mon/Wed-only.Both schedules now catch regressions within 1 business day instead of up to 4.
Security hardening: All workflows updated to follow the GitHub Actions injection-prevention best practices:
permissions:block added to every workflow:contents: readbaseline,pull-requests: writeonly where Danger /mikepenz/action-junit-reportposts PR comments.secrets: inheritreplaced with explicit secret pass-through; reusable workflows now declare expected secrets inon: workflow_call: secrets:.${{ ... }}shell interpolation inrun:blocks refactored toenv:variables with quoted shell expansions.pull_request_targetretained with# zizmor: ignore[dangerous-triggers]and an inline comment documenting the Member Check mitigation.actions/checkoutsteps setwith: persist-credentials: false.After this change,
zizmor --offlinereports 0 High-confidence findings across all six CI workflows.Test plan
python3 yaml.safe_load,actionlint -shellcheck=,zizmor --offline. All clean.brandonpage/SalesforceMobileSDK-iOS#23) targeting the samecleanup-ci-w22712082branch as this PR. The test PR triggers the new workflows against a real source change inSalesforceSDKCommon. No regressions observed — see linked PR for run details.permissions:blocks match the team's expected privilege levels for each workflow.🤖 Generated with Claude Code