Skip to content

Commit 210e3a9

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

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/continuous-integration.yaml

+11-11
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
node_version: 14
2929
fail-fast: false
3030
steps:
31-
- uses: actions/checkout@v2
31+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
3232
- name: Use Node.js ${{ matrix.node-version }}
33-
uses: actions/setup-node@v1
33+
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3.4.1
3434
with:
3535
node-version: ${{ matrix.node-version }}
3636
- name: Update NPM
@@ -44,7 +44,7 @@ jobs:
4444
- name: Run tests
4545
run: npm test --ignore-scripts
4646
- name: Publish coverage report to Coveralls
47-
uses: coverallsapp/github-action@master
47+
uses: coverallsapp/github-action@9ba913c152ae4be1327bfb9085dc806cedb44057 # tag=v1.1.3
4848
with:
4949
github-token: ${{ secrets.GITHUB_TOKEN }}
5050
flag-name: run-${{ matrix.os }}-node@${{ matrix.node-version }}
@@ -57,7 +57,7 @@ jobs:
5757
runs-on: ubuntu-latest
5858
steps:
5959
- name: Coveralls finished
60-
uses: coverallsapp/github-action@master
60+
uses: coverallsapp/github-action@9ba913c152ae4be1327bfb9085dc806cedb44057 # tag=v1.1.3
6161
with:
6262
github-token: ${{ secrets.github_token }}
6363
parallel-finished: true
@@ -66,9 +66,9 @@ jobs:
6666
name: Code Lint
6767
runs-on: ubuntu-latest
6868
steps:
69-
- uses: actions/checkout@v2
69+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
7070
- name: Use Node.js 14
71-
uses: actions/setup-node@v2
71+
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3.4.1
7272
with:
7373
node-version: 14
7474
- name: Bootstrap project
@@ -80,11 +80,11 @@ jobs:
8080
name: Commit Lint
8181
runs-on: ubuntu-latest
8282
steps:
83-
- uses: actions/checkout@v2
83+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
8484
with:
8585
fetch-depth: 0
8686
- name: Use Node.js 14
87-
uses: actions/setup-node@v2
87+
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3.4.1
8888
with:
8989
node-version: 14
9090
- name: Bootstrap project
@@ -100,13 +100,13 @@ jobs:
100100
security-events: write
101101
steps:
102102
- name: Checkout repository
103-
uses: actions/checkout@v2
103+
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
104104

105105
- name: Initialize CodeQL
106-
uses: github/codeql-action/init@v1
106+
uses: github/codeql-action/init@c7f292ea4f542c473194b33813ccd4c207a6c725 # tag=v2.1.21
107107
with:
108108
languages: 'javascript'
109109
config-file: ./.github/codeql/codeql-config.yaml
110110

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

0 commit comments

Comments
 (0)