-
Notifications
You must be signed in to change notification settings - Fork 34
Pin some GitHub Actions #951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,10 +24,10 @@ jobs: | |
| if: ${{ github.repository_owner == 'wp-cli' }} | ||
| steps: | ||
| - name: Check out source code | ||
| uses: actions/checkout@v6 | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | ||
|
|
||
| - name: Set up PHP environment | ||
| uses: shivammathur/setup-php@v2 | ||
| uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2 | ||
|
Comment on lines
26
to
+30
|
||
| with: | ||
| php-version: 'latest' | ||
| env: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actions/checkoutandsetup-phpare pinned to SHAs now, but this workflow still uses other actions via mutable refs (notablyad-m/github-push-action@master, plus several@v*tags likeramsey/composer-install@v3andactions/*-artifact@v7/v8). To reduce supply-chain risk and keep the workflow consistent with other pinned workflows in this repo, please pin these remaining actions to full commit SHAs (optionally keeping a# vXcomment).