File tree 9 files changed +29
-16
lines changed
9 files changed +29
-16
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: 'Tests: `nvm install-latest-npm`'
2
2
3
3
on : [pull_request, push]
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
matrix :
7
10
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -2,10 +2,11 @@ name: 'Tests: linting'
2
2
3
3
on : [pull_request, push]
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
eclint :
7
- permissions :
8
- contents : read
9
10
runs-on : ubuntu-latest
10
11
steps :
11
12
- uses : step-security/harden-runner@v2
23
24
- run : npm run eclint
24
25
25
26
dockerfile_lint :
26
- permissions :
27
- contents : read
28
27
runs-on : ubuntu-latest
29
28
steps :
30
29
- uses : step-security/harden-runner@v2
44
43
- run : npm run dockerfile_lint
45
44
46
45
doctoc :
47
- permissions :
48
- contents : read
49
46
runs-on : ubuntu-latest
50
47
steps :
51
48
- uses : step-security/harden-runner@v2
63
60
- run : npm run doctoc:check
64
61
65
62
test_naming :
66
- permissions :
67
- contents : read
68
63
runs-on : ubuntu-latest
69
64
steps :
70
65
- uses : step-security/harden-runner@v2
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Automatic Rebase
2
2
3
3
on : [pull_request_target]
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
_ :
7
10
permissions :
Original file line number Diff line number Diff line change @@ -2,10 +2,11 @@ name: 'Tests: release process'
2
2
3
3
on : [pull_request, push]
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
release :
7
- permissions :
8
- contents : read
9
10
runs-on : ubuntu-latest
10
11
steps :
11
12
- name : Harden Runner
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Require “Allow Edits”
2
2
3
3
on : [pull_request_target]
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
_ :
7
10
permissions :
Original file line number Diff line number Diff line change @@ -2,10 +2,11 @@ name: 'Tests: shellcheck'
2
2
3
3
on : [pull_request, push]
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
shellcheck_matrix :
7
- permissions :
8
- contents : read
9
10
runs-on : ubuntu-latest
10
11
strategy :
11
12
fail-fast : false
52
53
needs : [shellcheck_matrix]
53
54
runs-on : ubuntu-latest
54
55
steps :
55
- - name : Harden Runner
56
- uses : step-security/harden-runner@v2
57
- with :
58
- egress-policy : block
59
56
- run : true
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: urchin tests
2
2
3
3
on : [push]
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
tests :
7
10
permissions :
49
52
- run : make TERM=xterm-256color TEST_SUITE="${{ matrix.suite }}" SHELL="${{ matrix.shell }}" URCHIN="$(npx which urchin)" test-${{ matrix.shell }}
50
53
51
54
nvm :
55
+ permissions :
56
+ contents : none
52
57
name : ' all test suites, all shells'
53
58
needs : [tests]
54
59
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: update readme TOC
2
2
3
3
on : [push]
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
_ :
7
10
permissions :
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: 'Tests on Windows: `nvm install`'
2
2
3
3
on : [pull_request, push]
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
env :
6
9
NVM_INSTALL_GITHUB_REPO : ${{ github.repository }}
7
10
NVM_INSTALL_VERSION : ${{ github.sha }}
You can’t perform that action at this time.
0 commit comments