Skip to content

Commit 76b2643

Browse files
authored
Pin GitHub action references (#202)
Pin all GitHub action references to their commit SHAs. Each SHA maps to the current tag for the action at the time of pinning. Co-authored-by: Isaac
1 parent 20dca67 commit 76b2643

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163
run: zip -r ../pr-template.zip . -x 'node_modules/*'
164164

165165
- name: Upload artifact
166-
uses: actions/upload-artifact@v4
166+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
167167
with:
168168
name: appkit-template-${{ steps.version.outputs.version }}
169169
path: pr-template.zip

.github/workflows/docs-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Build Docs
3636
run: pnpm run docs:build
3737
- name: Upload artifact
38-
uses: actions/upload-pages-artifact@v3
38+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
3939
with:
4040
path: ./docs/build
4141

@@ -52,4 +52,4 @@ jobs:
5252
steps:
5353
- name: Deploy to GitHub Pages
5454
id: deployment
55-
uses: actions/deploy-pages@v4
55+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5

.github/workflows/pr-title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
name: Conventional Commit Title
1919
steps:
2020
- name: Validate PR title
21-
uses: ytanikin/pr-conventional-commits@1.5.1
21+
uses: ytanikin/pr-conventional-commits@fda730cb152c05a849d6d84325e50c6182d9d1e9 # 1.5.1
2222
with:
2323
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert","style","build"]'
2424
add_label: 'false'

.github/workflows/release-lakebase.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
steps:
3737
- name: Checkout
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
3939
with:
4040
fetch-depth: 0
4141
token: ${{ secrets.GITHUB_TOKEN }}
@@ -46,10 +46,10 @@ jobs:
4646
git config user.email "github-actions[bot]@users.noreply.github.com"
4747
4848
- name: Setup pnpm
49-
uses: pnpm/action-setup@v4
49+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
5050

5151
- name: Setup Node.js
52-
uses: actions/setup-node@v4
52+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
5353
with:
5454
node-version: 24
5555
registry-url: "https://registry.npmjs.org"

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
steps:
3737
- name: Checkout
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
3939
with:
4040
fetch-depth: 0
4141
token: ${{ secrets.GITHUB_TOKEN }}
@@ -46,10 +46,10 @@ jobs:
4646
git config user.email "github-actions[bot]@users.noreply.github.com"
4747
4848
- name: Setup pnpm
49-
uses: pnpm/action-setup@v4
49+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
5050

5151
- name: Setup Node.js
52-
uses: actions/setup-node@v4
52+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
5353
with:
5454
node-version: 24
5555
registry-url: "https://registry.npmjs.org"
@@ -106,7 +106,7 @@ jobs:
106106

107107
steps:
108108
- name: Checkout
109-
uses: actions/checkout@v4
109+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
110110
with:
111111
ref: main
112112
fetch-depth: 0
@@ -118,10 +118,10 @@ jobs:
118118
git config user.email "github-actions[bot]@users.noreply.github.com"
119119
120120
- name: Setup pnpm
121-
uses: pnpm/action-setup@v4
121+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
122122

123123
- name: Setup Node.js
124-
uses: actions/setup-node@v4
124+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
125125
with:
126126
node-version: 24
127127
cache: "pnpm"

0 commit comments

Comments
 (0)