Skip to content

Commit 556f03e

Browse files
Pin GitHub Actions to full-length commit SHAs (#411)
1 parent abe68e0 commit 556f03e

8 files changed

Lines changed: 30 additions & 19 deletions

.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/ensure-skill-version-check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,24 @@ jobs:
1818
- name: generate app token
1919
if: ${{ github.event.pull_request.head.repo.fork == false }}
2020
id: app-token
21-
uses: actions/create-github-app-token@v1
21+
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0
2222
with:
2323
app-id: 3189942
2424
private-key: ${{ secrets.POWER_PLATFORM_SKILLS_APP_PRIVATE_KEY }}
2525

2626
- name: checkout (non-fork)
2727
if: ${{ github.event.pull_request.head.repo.fork == false }}
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
2929
with:
3030
ref: ${{ github.head_ref }}
3131
token: ${{ steps.app-token.outputs.token }}
3232

3333
- name: checkout (fork)
3434
if: ${{ github.event.pull_request.head.repo.fork == true }}
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
3636

3737
- name: setup-node
38-
uses: actions/setup-node@v4
38+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3939
with:
4040
node-version: 20
4141

.github/workflows/github-repo-stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- name: generate app token
1919
id: app-token
20-
uses: actions/create-github-app-token@v3
20+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
2121
with:
2222
app-id: 3189942
2323
private-key: ${{ secrets.POWER_PLATFORM_SKILLS_APP_PRIVATE_KEY }}
@@ -49,10 +49,10 @@ jobs:
4949
fi
5050
5151
- name: checkout repository
52-
uses: actions/checkout@v4
52+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
5353

5454
- name: checkout github-repo-stats action
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
5656
with:
5757
repository: jgehrcke/github-repo-stats
5858
ref: RELEASE

.github/workflows/model-apps-script-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ jobs:
4747
- 22
4848
steps:
4949
- name: checkout
50-
uses: actions/checkout@v4
50+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
5151

5252
- name: setup-node
53-
uses: actions/setup-node@v4
53+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
5454
with:
5555
node-version: ${{ matrix.node }}
5656

@@ -74,10 +74,10 @@ jobs:
7474
POWER_PLATFORM_SKILLS_TELEMETRY_MODEL_APPS_OPTOUT: "1"
7575
steps:
7676
- name: checkout
77-
uses: actions/checkout@v4
77+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
7878

7979
- name: setup-node
80-
uses: actions/setup-node@v4
80+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
8181
with:
8282
node-version: 20
8383

.github/workflows/power-pages-alm-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
POWER_PLATFORM_SKILLS_TELEMETRY_POWER_PAGES_OPTOUT: "1"
2626
steps:
2727
- name: checkout
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
2929

3030
- name: setup-node
31-
uses: actions/setup-node@v4
31+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3232
with:
3333
node-version: 20
3434

.github/workflows/power-pages-script-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
- macos-latest
3434
steps:
3535
- name: checkout
36-
uses: actions/checkout@v4
36+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
3737

3838
- name: setup-node
39-
uses: actions/setup-node@v4
39+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
4040
with:
4141
node-version: 20
4242

.github/workflows/validate-keyword-case.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: checkout
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
1616

1717
- name: setup-node
18-
uses: actions/setup-node@v4
18+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
1919
with:
2020
node-version: 20
2121

.github/workflows/validate-repository-metadata.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
POWER_PLATFORM_SKILLS_TELEMETRY_POWER_PAGES_OPTOUT: "1"
1313
steps:
1414
- name: checkout
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
1616

1717
- name: setup-node
18-
uses: actions/setup-node@v4
18+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
1919
with:
2020
node-version: 20
2121

0 commit comments

Comments
 (0)