Skip to content

Commit 7b095ca

Browse files
Pin github actions (#1118)
1 parent cdb2026 commit 7b095ca

11 files changed

+26
-26
lines changed

.github/workflows/build-perf.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
node-version: "18"
2020
cache: yarn
21-
- uses: preactjs/compressed-size-action@v2
21+
- uses: preactjs/compressed-size-action@946a292cd35bd1088e0d7eb92b69d1a8d5b5d76a # v2
2222
with:
2323
repo-token: ${{ secrets.GITHUB_TOKEN }}
2424
build-script: build
@@ -33,8 +33,8 @@ jobs:
3333
timeout-minutes: 30
3434
runs-on: ubuntu-latest
3535
steps:
36-
- uses: actions/checkout@v4
37-
- uses: actions/setup-node@v4
36+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
37+
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
3838
with:
3939
cache: yarn
4040
- name: Installation

.github/workflows/canary-beta-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
if: ${{ github.repository == 'PaloAltoNetworks/docusaurus-openapi-docs' && github.ref == 'refs/heads/v3.0.0' && github.event_name == 'push' }}
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2121
with:
2222
fetch-depth: 0 # Needed to get the commit number with "git rev-list --count HEAD"
2323
- name: Set up Node
24-
uses: actions/setup-node@v4
24+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
2525
with:
2626
node-version: "18"
2727
cache: yarn

.github/workflows/canary-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
if: ${{ github.repository == 'PaloAltoNetworks/docusaurus-openapi-docs' && github.ref == 'refs/heads/main' && github.event_name == 'push' }}
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2121
with:
2222
fetch-depth: 0 # Needed to get the commit number with "git rev-list --count HEAD"
2323
- name: Set up Node
24-
uses: actions/setup-node@v4
24+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
2525
with:
2626
node-version: "18"
2727
cache: yarn

.github/workflows/codeql-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
2424

2525
- name: Initialize CodeQL
2626
uses: github/codeql-action/init@v3

.github/workflows/combine-dependabot-prs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
console.log('Combined: ' + combined);
9090
return combined
9191
92-
- uses: actions/checkout@v3
92+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
9393
with:
9494
fetch-depth: 0
9595

@@ -122,7 +122,7 @@ jobs:
122122
APP_PEM: ${{ secrets.APP_PEM }}
123123
APP_ID: ${{ secrets.APP_ID }}
124124

125-
- uses: actions/github-script@v3
125+
- uses: actions/github-script@ffc2c79a5b2490bd33e0a41c1de74b877714d736 # v3
126126
name: Create Combined Pull Request
127127
env:
128128
PRS_STRING: ${{ steps.fetch-branch-names.outputs.prs-string }}

.github/workflows/deploy-live.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Build site
3030
run: yarn build-demo && zip -r build.zip demo/build
3131

32-
- uses: actions/upload-artifact@v4
32+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
3333
with:
3434
name: build
3535
path: build.zip
@@ -41,15 +41,15 @@ jobs:
4141

4242
steps:
4343
- name: Checkout repository
44-
uses: actions/checkout@v4
44+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4545

4646
- name: Setup node
47-
uses: actions/setup-node@v4
47+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
4848
with:
4949
node-version: "18"
5050
cache: "yarn"
5151

52-
- uses: actions/download-artifact@v4
52+
- uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4
5353
with:
5454
name: build
5555

.github/workflows/deploy-preview.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
- name: Build site
109109
run: yarn build-demo && zip -r build.zip demo/build
110110

111-
- uses: actions/upload-artifact@v4
111+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
112112
with:
113113
name: build
114114
path: build.zip
@@ -121,15 +121,15 @@ jobs:
121121

122122
steps:
123123
- name: Checkout repository
124-
uses: actions/checkout@v4
124+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
125125

126126
- name: Setup node
127-
uses: actions/setup-node@v4
127+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
128128
with:
129129
node-version: "18"
130130
cache: "yarn"
131131

132-
- uses: actions/download-artifact@v4
132+
- uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4
133133
with:
134134
name: build
135135

.github/workflows/pr-title-check.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: Check
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2121
with:
2222
fetch-depth: 0
2323
- name: Check

.github/workflows/release-beta.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
runs-on: ubuntu-latest
1515
if: ${{ github.repository == 'PaloAltoNetworks/docusaurus-openapi-docs' }}
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1818
with:
1919
fetch-depth: 0
2020
- run: |
2121
git config user.name "github-actions[bot]"
2222
git config user.email "github-actions[bot]@users.noreply.github.com"
23-
- uses: actions/setup-node@v2
23+
- uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2
2424
with:
2525
node-version: "*"
2626
registry-url: "https://registry.npmjs.org"

.github/workflows/release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
runs-on: ubuntu-latest
1616
if: ${{ github.repository == 'PaloAltoNetworks/docusaurus-openapi-docs' }}
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1919
with:
2020
fetch-depth: 0
2121
- run: |
2222
git config user.name "github-actions[bot]"
2323
git config user.email "github-actions[bot]@users.noreply.github.com"
24-
- uses: actions/setup-node@v2
24+
- uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2
2525
with:
2626
node-version: "*"
2727
registry-url: "https://registry.npmjs.org"

.github/workflows/validate.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
needs: prepare-yarn-cache
3434
runs-on: ubuntu-latest
3535
steps:
36-
- uses: actions/checkout@v4
37-
- uses: actions/setup-node@v4
36+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
37+
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
3838
with:
3939
node-version: "18"
40-
- uses: actions/cache@v3
40+
- uses: actions/cache@2f8e54208210a422b2efd51efaa6bd6d7ca8920f # v3
4141
with:
4242
path: |
4343
node_modules

0 commit comments

Comments
 (0)