Skip to content

Commit d20dceb

Browse files
authored
Pin GitHub action references (#1347)
## Summary - Pin all GitHub action references to their commit SHAs - Each SHA maps to the current tag for the action at the time of pinning NO_CHANGELOG=true
1 parent 6b16a78 commit d20dceb

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/integration-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747

4848
- name: Generate GitHub App Token for Workflow Trigger
4949
id: generate-token
50-
uses: actions/create-github-app-token@v1
50+
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0
5151
with:
5252
app-id: ${{ secrets.DECO_WORKFLOW_TRIGGER_APP_ID }}
5353
private-key: ${{ secrets.DECO_WORKFLOW_TRIGGER_PRIVATE_KEY }}
@@ -83,7 +83,7 @@ jobs:
8383

8484
steps:
8585
- name: Auto-approve Check for Merge Queue
86-
uses: actions/github-script@v7
86+
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
8787
with:
8888
script: |
8989
await github.rest.checks.create({

.github/workflows/next-changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
1717

1818
- name: Fetch list of changed files
1919
id: changed-files

.github/workflows/push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@v2
35+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
3636

3737
- name: Format all files
3838
run: make dev fmt
@@ -45,7 +45,7 @@ jobs:
4545

4646
steps:
4747
- name: Checkout
48-
uses: actions/checkout@v2
48+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
4949

5050
- uses: actions/setup-python@v4
5151
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
cat "$RELEASE_NOTES_FILE"
4444
4545
- name: Release
46-
uses: softprops/action-gh-release@v1
46+
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15
4747
with:
4848
body_path: /tmp/release-notes/release-notes.md
4949
files: |

.github/workflows/tagging.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ jobs:
3737
steps:
3838
- name: Generate GitHub App Token
3939
id: generate-token
40-
uses: actions/create-github-app-token@v3
40+
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
4141
with:
4242
app-id: ${{ secrets.DECO_SDK_TAGGING_APP_ID }}
4343
private-key: ${{ secrets.DECO_SDK_TAGGING_PRIVATE_KEY }}
4444

4545
- name: Checkout repository
46-
uses: actions/checkout@v4
46+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
4747
with:
4848
fetch-depth: 0
4949
token: ${{ steps.generate-token.outputs.token }}

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ${{ inputs.os }}
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
2121

2222
- name: Unshallow
2323
run: git fetch --prune --unshallow
@@ -30,6 +30,6 @@ jobs:
3030
run: make dev install test
3131

3232
- name: Publish test coverage
33-
uses: codecov/codecov-action@v4
33+
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
3434
env:
3535
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)