Skip to content

Commit 953d140

Browse files
authored
fix: pin GitHub Actions to commit SHAs (INT-326) (#45)
## Info - Pins all `uses:` references in GitHub Actions workflows to full commit SHAs. ## References - https://docs.github.com/en/actions/reference/security/secure-use#using-third-party-actions
1 parent 8745d8d commit 953d140

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/lint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Check out Git repository
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1717
- name: Trunk Check
18-
uses: trunk-io/trunk-action@v1
18+
uses: trunk-io/trunk-action@75699af9e26881e564e9d832ef7dc3af25ec031b # v1.2.4

.github/workflows/trunk-upgrade.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
pull-requests: write
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2121

2222
- name: Run Trunk Upgrade
23-
uses: masterpointio/github-action-trunk-upgrade@v0.1.0
23+
uses: masterpointio/github-action-trunk-upgrade@a79fd65d524d92031fe167daee411d2f25d4a999 # v0.1.0
2424
with:
2525
app-id: ${{ secrets.MP_BOT_APP_ID }}
2626
app-private-key: ${{ secrets.MP_BOT_APP_PRIVATE_KEY }}

0 commit comments

Comments
 (0)