Skip to content

Commit bb157c9

Browse files
Pin GitHub Actions to full-length commit SHAs (#5937)
1 parent ea3b319 commit bb157c9

3 files changed

Lines changed: 15 additions & 4 deletions

File tree

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
groups:
6+
github-actions:
7+
patterns: ["*"]
8+
schedule:
9+
interval: "weekly"
10+
cooldown:
11+
default-days: 7

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
mkdir -p $HOME/.rush-user
4949
@{ buildCacheFolder = Join-Path ${{ github.workspace }} rush-cache } | ConvertTo-Json > $HOME/.rush-user/settings.json
5050
51-
- uses: actions/checkout@v6
51+
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
5252
with:
5353
fetch-depth: 2
5454
path: repo-a
@@ -59,7 +59,7 @@ jobs:
5959
git config --local user.email "rushbot@users.noreply.github.com"
6060
working-directory: repo-a
6161

62-
- uses: actions/setup-node@v6
62+
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
6363
with:
6464
node-version: ${{ matrix.NodeVersion }}
6565

@@ -99,7 +99,7 @@ jobs:
9999
working-directory: repo-a
100100

101101
- name: Clone another copy of the repo to test the build cache
102-
uses: actions/checkout@v6
102+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
103103
with:
104104
fetch-depth: 1
105105
path: repo-b

.github/workflows/file-doc-tickets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Use nodejs
26-
uses: actions/setup-node@v6
26+
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
2727
with:
2828
node-version: 20
2929
- name: Parse PR body

0 commit comments

Comments
 (0)