Skip to content

Commit 31a1b8b

Browse files
authored
Merge pull request #348 from rubygems/migrate-actions
Use pin hash and latest versions
2 parents 6873fac + b51fb33 commit 31a1b8b

5 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/check-dist.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
runs-on: ubuntu-latest
2424

2525
steps:
26-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
26+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2727
with:
2828
persist-credentials: false
2929

3030
- name: Set up Node.js
31-
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
31+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
3232
with:
3333
node-version-file: .nvmrc
3434

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
steps:
4242
- name: Checkout repository
43-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
43+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4444
with:
4545
persist-credentials: false
4646

.github/workflows/compile-dependabot-updates.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
contents: read
1313
steps:
1414
- name: Checkout Pull Request
15-
uses: actions/checkout@v6.0.1
15+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616
with:
1717
persist-credentials: false
1818
ref: ${{ github.event.pull_request.head.ref }}
1919

2020
- name: Set up Node
21-
uses: actions/setup-node@v6
21+
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
2222
with:
2323
node-version-file: .nvmrc
2424
cache: 'npm'
@@ -30,7 +30,7 @@ jobs:
3030
run: npm run build && npm run package
3131

3232
- name: Upload build artifacts
33-
uses: actions/upload-artifact@v6
33+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
3434
with:
3535
name: dist
3636
path: dist/
@@ -44,15 +44,15 @@ jobs:
4444
pull-requests: write
4545
steps:
4646
- name: Checkout Pull Request
47-
uses: actions/checkout@v6.0.1
47+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4848
with:
4949
token: ${{ secrets.GITHUB_TOKEN }}
5050
fetch-depth: 0
5151
persist-credentials: false
5252
ref: ${{ github.event.pull_request.head.ref }}
5353

5454
- name: Download build artifacts
55-
uses: actions/download-artifact@v7
55+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
5656
with:
5757
name: dist
5858
path: dist/

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
build: # make sure build/ci work properly
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
15+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616
with:
1717
persist-credentials: false
1818
- run: |
@@ -36,7 +36,7 @@ jobs:
3636
gem-server: 'https://staging.rubygems.org'
3737

3838
steps:
39-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
39+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4040
with:
4141
persist-credentials: false
4242
- uses: ./
@@ -59,7 +59,7 @@ jobs:
5959
- 'staging.rubygems.org'
6060

6161
steps:
62-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
62+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6363
with:
6464
persist-credentials: false
6565
- uses: ./

.github/workflows/zizmor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
actions: read # only needed for private repos
1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
with:
2323
persist-credentials: false
2424

0 commit comments

Comments
 (0)