Skip to content

Commit 5c4d8e6

Browse files
committed
ci: pin GH Actions to Git Hash
see: loopbackio/security#27 Signed-off-by: Rifa Achrinza <[email protected]>
1 parent 37a5f73 commit 5c4d8e6

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
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

+13-13
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ 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 }}
3939
- name: Update NPM
@@ -45,13 +45,13 @@ jobs:
4545
npx lerna bootstrap
4646
- name: Build project
4747
run: npm run build
48-
- uses: Yuri6037/[email protected]
48+
- uses: Yuri6037/Action-FakeTTY@1abc69c7d530815855caedcd73842bae5687c1a6 # tag=v1.1
4949
- name: Run tests
5050
run: faketty npm run test --ignore-scripts
5151
- name: Generate coverage report
5252
run: node packages/build/bin/run-nyc report --reporter=lcov
5353
- name: Publish coverage report to Coveralls
54-
uses: coverallsapp/github-action@master
54+
uses: coverallsapp/github-action@9ba913c152ae4be1327bfb9085dc806cedb44057 # tag=v1.1.3
5555
with:
5656
flag-name: run-${{ matrix.os }}-node@${{ matrix.node-version }}
5757
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -64,7 +64,7 @@ jobs:
6464
if: ${{ success() }}
6565
steps:
6666
- name: Coveralls finished
67-
uses: coverallsapp/github-action@master
67+
uses: coverallsapp/github-action@9ba913c152ae4be1327bfb9085dc806cedb44057 # tag=v1.1.3
6868
with:
6969
github-token: ${{ secrets.GITHUB_TOKEN }}
7070
parallel-finished: true
@@ -73,8 +73,8 @@ jobs:
7373
name: Test Benchmark
7474
runs-on: ubuntu-latest
7575
steps:
76-
- uses: actions/checkout@v3
77-
- uses: actions/setup-node@v3
76+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
77+
- uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3.4.1
7878
with:
7979
node-version: 16 # LTS
8080
- name: Bootstrap benchmark tests
@@ -88,8 +88,8 @@ jobs:
8888
name: Code Lint
8989
runs-on: ubuntu-latest
9090
steps:
91-
- uses: actions/checkout@v3
92-
- uses: actions/setup-node@v3
91+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
92+
- uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3.4.1
9393
with:
9494
node-version: 16 # LTS
9595
- name: Bootstrap project
@@ -108,10 +108,10 @@ jobs:
108108
runs-on: ubuntu-latest
109109
if: ${{ github.event.pull_request }}
110110
steps:
111-
- uses: actions/checkout@v3
111+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
112112
with:
113113
fetch-depth: 0
114-
- uses: actions/setup-node@v3
114+
- uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3.4.1
115115
with:
116116
node-version: 16 # LTS
117117
- name: Install monorepo tools
@@ -125,8 +125,8 @@ jobs:
125125
name: Verify Docs
126126
runs-on: ubuntu-latest
127127
steps:
128-
- uses: actions/checkout@v3
129-
- uses: actions/setup-node@v3
128+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
129+
- uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3.4.1
130130
with:
131131
node-version: 16 # LTS
132132
- name: Bootstrap project

.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)