Skip to content

chore: pin third-party GitHub Actions to commit SHAs#490

Open
mahangu wants to merge 1 commit into
mainfrom
chore/devprod-1072-pin-actions-shas
Open

chore: pin third-party GitHub Actions to commit SHAs#490
mahangu wants to merge 1 commit into
mainfrom
chore/devprod-1072-pin-actions-shas

Conversation

@mahangu
Copy link
Copy Markdown

@mahangu mahangu commented Jun 8, 2026

Pins third-party GitHub Actions in this repo to immutable commit SHAs.

This is a draft PR for review before merging. It was prepared with agent assistance and manually verified.

Tracking: DEVPROD-1072

Repo-level summary:

  • Pinned distinct third-party action refs in this PR: 2
  • Repo-level unpinned usage count from the trunk recheck: 4
  • Dependabot GitHub Actions coverage: already_present (.github/dependabot.yml)

Verification commands:

# ramsey/composer-install # 3.1.1 -> 3cf229dc2919194e9e36783941438d17239e8520
gh api repos/ramsey/composer-install/commits/3.1.1 --jq '.sha'
# expected: 3cf229dc2919194e9e36783941438d17239e8520

# shivammathur/setup-php # 2.37.1 -> 7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc
gh api repos/shivammathur/setup-php/commits/2.37.1 --jq '.sha'
# expected: 7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 8, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
actions/ramsey/composer-install 3cf229dc2919194e9e36783941438d17239e8520 🟢 4.5
Details
CheckScoreReason
Packaging⚠️ -1packaging workflow not detected
Maintained🟢 1012 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
Code-Review⚠️ 2Found 5/24 approved changesets -- score normalized to 2
Dangerous-Workflow⚠️ -1no workflows found
Token-Permissions⚠️ -1No tokens found
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ -1no dependencies found
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
actions/shivammathur/setup-php 7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc 🟢 7.6
Details
CheckScoreReason
Maintained🟢 1030 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10
Code-Review⚠️ 0Found 1/22 approved changesets -- score normalized to 0
Binary-Artifacts🟢 10no binaries found in the repo
Security-Policy🟢 10security policy file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
CII-Best-Practices🟢 5badge detected: Passing
Pinned-Dependencies🟢 7dependency not pinned by hash detected -- score normalized to 7
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Signed-Releases⚠️ -1no releases found
Packaging🟢 10packaging workflow detected
SAST🟢 7SAST tool detected but not run on all commits

Scanned Files

  • .github/workflows/phpcs.yaml

@mahangu mahangu self-assigned this Jun 8, 2026
@mahangu mahangu marked this pull request as ready for review June 8, 2026 02:27
@mahangu mahangu requested a review from sjinks June 8, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant