Skip to content

Commit 5e528ca

Browse files
edsonmartinsclaude
andcommitted
fix(ci): pin GitHub Actions por SHA para mitigar supply chain attacks
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 6b6fcf0 commit 5e528ca

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/deploy-docs-vps.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121

2222
- name: Setup Node.js
23-
uses: actions/setup-node@v4
23+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2424
with:
2525
node-version: '20'
2626

2727
- name: Install pnpm
28-
uses: pnpm/action-setup@v2
28+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
2929
with:
3030
version: 9
3131

.github/workflows/publish-npm.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ jobs:
1515

1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1919

2020
- name: Setup Node.js
21-
uses: actions/setup-node@v4
21+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2222
with:
2323
node-version: '20'
2424
registry-url: 'https://registry.npmjs.org'
2525

2626
- name: Install pnpm
27-
uses: pnpm/action-setup@v2
27+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
2828
with:
2929
version: 9
3030

@@ -49,7 +49,7 @@ jobs:
4949
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5050

5151
- name: Create GitHub Release
52-
uses: softprops/action-gh-release@v1
52+
uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1
5353
with:
5454
body: |
5555
## 🚀 Archbase React v${{ github.ref_name }}

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ jobs:
2626

2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3030
with:
3131
fetch-depth: 0
3232

3333
- name: Setup Node.js
34-
uses: actions/setup-node@v4
34+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3535
with:
3636
node-version: '20'
3737

3838
- name: Install pnpm
39-
uses: pnpm/action-setup@v2
39+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
4040
with:
4141
version: 9
4242

@@ -95,7 +95,7 @@ jobs:
9595
echo "- @archbase/ssr" >> release_notes.md
9696
9797
- name: Upload artifacts
98-
uses: actions/upload-artifact@v4
98+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
9999
with:
100100
name: packages-${{ env.VERSION }}
101101
path: |
@@ -104,7 +104,7 @@ jobs:
104104
retention-days: 90
105105

106106
- name: Create GitHub Release
107-
uses: softprops/action-gh-release@v1
107+
uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1
108108
with:
109109
tag_name: v${{ env.VERSION }}
110110
name: Release v${{ env.VERSION }}
@@ -141,7 +141,7 @@ jobs:
141141

142142
steps:
143143
- name: Checkout
144-
uses: actions/checkout@v4
144+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
145145

146146
- name: Build and deploy docs
147147
run: |

0 commit comments

Comments
 (0)