ci: pin all GitHub Actions to commit SHAs (#1875)

This commit is contained in:
Max Isbey 2026-01-16 08:52:42 +00:00 • committed by GitHub
commit c9e98e53a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,13 +13,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 0
- name: Get previous release
id: previous_release
uses: actions/github-script@v7
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
with:
script: |
const currentTag = '${{ github.event.release.tag_name }}';
@ -53,7 +53,7 @@ jobs:
- name: Get merged PRs between releases
id: get_prs
uses: actions/github-script@v7
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
with:
script: |
const currentTag = '${{ github.event.release.tag_name }}';
@ -103,7 +103,7 @@ jobs:
return Array.from(prNumbers);
- name: Comment on PRs
uses: actions/github-script@v7
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
with:
script: |
const prNumbers = ${{ steps.get_prs.outputs.result }};