ci: pin all GitHub Actions to commit SHAs (#1875)
This commit is contained in:
parent
fc5cb6ab48
commit
c9e98e53a7
1 changed files with 22 additions and 22 deletions
8
.github/workflows/comment-on-release.yml
vendored
8
.github/workflows/comment-on-release.yml
vendored
|
|
@ -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 }};
|
||||
|
|
|
|||
Loading…
Reference in a new issue