Skip to content

Commit 67498c1

Browse files
committed
chore: pin GitHub Action SHAs in Cloudflare workflows
1 parent c1de3ac commit 67498c1

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/deploy-cloudflare.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ jobs:
2424

2525
steps:
2626
- name: Checkout code
27-
uses: actions/checkout@v6
27+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
2828
with:
2929
ref: ${{ github.event.workflow_run.head_sha }}
3030
persist-credentials: false
3131

3232
- name: Setup pnpm
33-
uses: pnpm/action-setup@v4
33+
uses: pnpm/action-setup@f40ffcd9367d9f12939873eb1018b921a783ffaa # v4
3434
with:
3535
version: 9
3636

3737
- name: Setup Node.js
38-
uses: actions/setup-node@v6
38+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3939
with:
4040
node-version: 24.11.1
4141
cache: pnpm
@@ -50,7 +50,7 @@ jobs:
5050
VITE_DEV_SITE_URL: https://dev.bayanflow.com
5151

5252
- name: Deploy to Cloudflare Workers
53-
uses: cloudflare/wrangler-action@v3
53+
uses: cloudflare/wrangler-action@9acf94ace14e7dc412b076f2c5c20b8ce93c79cd # v3
5454
with:
5555
apiToken: ${{ secrets.CF_API_TOKEN }}
5656
accountId: ${{ secrets.CF_ACCOUNT_ID }}

.github/workflows/preview-cloudflare.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ jobs:
2020

2121
steps:
2222
- name: Checkout code
23-
uses: actions/checkout@v6
23+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
2424
with:
2525
ref: ${{ github.event.pull_request.head.sha }}
2626
persist-credentials: false
2727

2828
- name: Setup pnpm
29-
uses: pnpm/action-setup@v4
29+
uses: pnpm/action-setup@f40ffcd9367d9f12939873eb1018b921a783ffaa # v4
3030
with:
3131
version: 9
3232

3333
- name: Setup Node.js
34-
uses: actions/setup-node@v6
34+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3535
with:
3636
node-version: 24.11.1
3737
cache: pnpm
@@ -58,7 +58,7 @@ jobs:
5858

5959
- name: Upload preview version
6060
id: deploy
61-
uses: cloudflare/wrangler-action@v3
61+
uses: cloudflare/wrangler-action@9acf94ace14e7dc412b076f2c5c20b8ce93c79cd # v3
6262
with:
6363
apiToken: ${{ secrets.CF_API_TOKEN }}
6464
accountId: ${{ secrets.CF_ACCOUNT_ID }}
@@ -70,7 +70,7 @@ jobs:
7070
--message "PR #${{ github.event.pull_request.number }}: ${{ github.event.pull_request.title }}"
7171
7272
- name: Comment PR with preview URL
73-
uses: actions/github-script@v7
73+
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
7474
env:
7575
DEPLOY_OUTPUT: ${{ steps.deploy.outputs['command-output'] }}
7676
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}

0 commit comments

Comments
 (0)