Skip to content

Commit 90eb343

Browse files
committed
ci: pin github actions to full-length commit shas
1 parent 07d64f2 commit 90eb343

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2525

2626
- name: Install pnpm
27-
uses: pnpm/action-setup@v4
27+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
2828

2929
- name: Set node version to latest LTS
30-
uses: actions/setup-node@v4
30+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
3131
with:
3232
node-version: lts/*
3333
cache: 'pnpm'
@@ -58,13 +58,13 @@ jobs:
5858
name: 'Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }}'
5959
steps:
6060
- name: Checkout
61-
uses: actions/checkout@v4
61+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
6262

6363
- name: Install pnpm
64-
uses: pnpm/action-setup@v4
64+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
6565

6666
- name: Set node version to ${{ matrix.node_version }}
67-
uses: actions/setup-node@v4
67+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
6868
with:
6969
node-version: ${{ matrix.node_version }}
7070
cache: 'pnpm'
@@ -81,7 +81,7 @@ jobs:
8181
run: echo "PLAYWRIGHT_BROWSERS_PATH=$HOME\.cache\playwright-bin" >> $env:GITHUB_ENV
8282

8383
- name: Cache Playwright's binary
84-
uses: actions/cache@v4
84+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
8585
with:
8686
# Playwright removes unused browsers automatically
8787
# So does not need to add playwright version to key

.github/workflows/provenance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
check-provenance:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1717
with:
1818
fetch-depth: 0
1919
- name: Check provenance downgrades

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
release:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1414
with:
1515
fetch-depth: 0
1616

1717
- name: Install pnpm
18-
uses: pnpm/action-setup@v4
18+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
1919

2020
- name: Set node
21-
uses: actions/setup-node@v4
21+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2222
with:
2323
node-version: current
2424
cache: pnpm
@@ -35,7 +35,7 @@ jobs:
3535
pnpm run build
3636
pnpm run publint
3737
38-
- uses: actions/github-script@v7
38+
- uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
3939
id: version_to_release
4040
with:
4141
result-encoding: string

.github/workflows/sync-volar.yml

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

1212
steps:
1313
- name: Checkout repository
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1515
with:
1616
repository: 'volarjs/volar.js'
1717
fetch-depth: 0
@@ -25,7 +25,7 @@ jobs:
2525
2626
- name: Create issue if runTsc.ts changed
2727
if: steps.check_changes.outputs.file_changed == 'true'
28-
uses: actions/github-script@v7
28+
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
2929
with:
3030
github-token: ${{ secrets.GITHUB_TOKEN }}
3131
script: |

0 commit comments

Comments
 (0)