Skip to content

Commit de2ec4e

Browse files
committed
Pin GH actions to commit hashes
1 parent e8b6bf1 commit de2ec4e

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/coverage-comment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
github.event.workflow_run.conclusion == 'success'
1616
steps:
1717
- name: Download PR comment artifact
18-
uses: dawidd6/action-download-artifact@v21
18+
uses: dawidd6/action-download-artifact@b6e2e70617bc3265edd6dab6c906732b2f1ae151 # v21
1919
with:
2020
workflow: main.yml
2121
run_id: ${{ github.event.workflow_run.id }}
2222
name: pr-coverage-comment
2323
path: pr-coverage-comment/
2424
- name: Post or update PR comment
25-
uses: actions/github-script@v9
25+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
2626
with:
2727
script: |
2828
const fs = require('fs');

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ jobs:
6363
flags: unittests
6464
- name: Upload coverage report as artifact
6565
if: ${{ matrix.release_build && github.event_name != 'pull_request' && github.repository == 'FasterXML/jackson-dataformats-binary' }}
66-
uses: actions/upload-artifact@v7
66+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6767
with:
6868
name: jacoco-report
6969
path: '**/target/site/jacoco/jacoco.csv'
7070
retention-days: 30
7171
- name: Download base branch coverage
7272
if: ${{ matrix.release_build && github.event_name == 'pull_request' }}
73-
uses: dawidd6/action-download-artifact@v21
73+
uses: dawidd6/action-download-artifact@b6e2e70617bc3265edd6dab6c906732b2f1ae151 # v21
7474
continue-on-error: true
7575
with:
7676
workflow: main.yml
@@ -154,7 +154,7 @@ jobs:
154154
echo "${{ github.event.pull_request.number }}" > pr-number.txt
155155
- name: Upload PR comment artifact
156156
if: ${{ matrix.release_build && github.event_name == 'pull_request' }}
157-
uses: actions/upload-artifact@v7
157+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
158158
with:
159159
name: pr-coverage-comment
160160
path: |

0 commit comments

Comments
 (0)