Skip to content

Commit b4ca8bc

Browse files
committed
ci: pin GitHub Actions to Git hash
see: loopbackio/security#27 Signed-off-by: Rifa Achrinza <[email protected]>
1 parent dbab035 commit b4ca8bc

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

.github/workflows/codeql-analysis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121

2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
2525

2626
- name: Initialize CodeQL
27-
uses: github/codeql-action/init@v2
27+
uses: github/codeql-action/init@c7f292ea4f542c473194b33813ccd4c207a6c725 # tag=v2.1.21
2828
with:
2929
languages: 'javascript'
3030
config-file: ./.github/codeql/codeql-config.yml
3131

3232
- name: Perform CodeQL Analysis
33-
uses: github/codeql-action/analyze@v2
33+
uses: github/codeql-action/analyze@c7f292ea4f542c473194b33813ccd4c207a6c725 # tag=v2.1.21

.github/workflows/continuous-integration.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ jobs:
2929
fail-fast: false
3030
runs-on: ${{ matrix.os }}
3131
steps:
32-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
3333
with:
3434
fetch-depth: 0
3535
- name: Use Node.js ${{ matrix.node-version }}
36-
uses: actions/setup-node@v3
36+
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3.4.1
3737
with:
3838
node-version: ${{ matrix.node-version }}
39-
- uses: Yuri6037/[email protected]
39+
- uses: Yuri6037/Action-FakeTTY@1abc69c7d530815855caedcd73842bae5687c1a6 # tag=v1.1
4040
- name: Bootstrap
4141
run: |
4242
npm ci --ignore-scripts
@@ -51,10 +51,10 @@ jobs:
5151
run: node packages/build/bin/run-nyc node packages/build/bin/run-mocha --lang en_US.UTF-8 --reporter spec "extensions/*/dist/__tests__/**/*.js"
5252
- name: Run example tests
5353
run: node packages/build/bin/run-nyc node packages/build/bin/run-mocha --lang en_US.UTF-8 --reporter spec "examples/*/dist/__tests__/**/*.js"
54-
- name: Generate coverage
54+
- name: Generate coverage report
5555
run: node packages/build/bin/run-nyc report --reporter=lcov
56-
- name: Publish coverage to Coveralls
57-
uses: coverallsapp/github-action@master
56+
- name: Publish coverage report to Coveralls
57+
uses: coverallsapp/github-action@9ba913c152ae4be1327bfb9085dc806cedb44057 # tag=v1.1.3
5858
with:
5959
flag-name: run-${{ matrix.os }}-node@${{ matrix.node-version }}
6060
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -66,8 +66,8 @@ jobs:
6666
runs-on: ubuntu-latest
6767
if: ${{ success() }}
6868
steps:
69-
- name: Set finish on Coveralls
70-
uses: coverallsapp/github-action@master
69+
- name: Coveralls finished
70+
uses: coverallsapp/github-action@9ba913c152ae4be1327bfb9085dc806cedb44057 # tag=v1.1.3
7171
with:
7272
github-token: ${{ secrets.GITHUB_TOKEN }}
7373
parallel-finished: true
@@ -76,8 +76,8 @@ jobs:
7676
name: Test Benchmark
7777
runs-on: ubuntu-latest
7878
steps:
79-
- uses: actions/checkout@v3
80-
- uses: actions/setup-node@v3
79+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
80+
- uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3.4.1
8181
with:
8282
node-version: 16 # LTS
8383
- name: Bootstrap
@@ -93,8 +93,8 @@ jobs:
9393
name: Code Lint
9494
runs-on: ubuntu-latest
9595
steps:
96-
- uses: actions/checkout@v3
97-
- uses: actions/setup-node@v3
96+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
97+
- uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3.4.1
9898
with:
9999
node-version: 16 # LTS
100100
- name: Bootstrap
@@ -117,10 +117,10 @@ jobs:
117117
runs-on: ubuntu-latest
118118
if: ${{ github.event.pull_request }}
119119
steps:
120-
- uses: actions/checkout@v3
120+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
121121
with:
122122
fetch-depth: 0
123-
- uses: actions/setup-node@v3
123+
- uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3.4.1
124124
with:
125125
node-version: 16 # LTS
126126
- name: Bootstrap
@@ -134,8 +134,8 @@ jobs:
134134
name: Verify Docs
135135
runs-on: ubuntu-latest
136136
steps:
137-
- uses: actions/checkout@v3
138-
- uses: actions/setup-node@v3
137+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
138+
- uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3.4.1
139139
with:
140140
node-version: 16 # LTS
141141
- name: Bootstrap

.github/workflows/renovate-config-validator.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
name: Main
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
1919
with:
2020
fetch-depth: 0
21-
- uses: actions/setup-node@v3
21+
- uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3.4.1
2222
with:
2323
node-version: 16 # LTS
2424
- name: Validate Renovate config

0 commit comments

Comments
 (0)