File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1
1
name : Linting
2
2
on :
3
3
- pull_request
4
+
5
+ permissions : # added using https://github.com/step-security/secure-workflows
6
+ contents : read
7
+
4
8
concurrency :
5
9
group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
6
10
cancel-in-progress : true
11
+
7
12
jobs :
8
13
yamllint :
14
+ permissions :
15
+ contents : read # for actions/checkout to fetch code
16
+ pull-requests : write # for karancode/yamllint-github-action to post comments on PRs
9
17
name : Yamllint
10
18
runs-on : ubuntu-latest
11
19
steps :
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Spell Checking
2
2
3
3
on : [pull_request]
4
4
5
+ permissions : # added using https://github.com/step-security/secure-workflows
6
+ contents : read
7
+
5
8
concurrency :
6
9
group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
7
10
cancel-in-progress : true
Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
workflow_dispatch :
9
9
10
+ permissions : # added using https://github.com/step-security/secure-workflows
11
+ contents : read
12
+
10
13
concurrency :
11
14
group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
12
15
cancel-in-progress : true
You can’t perform that action at this time.
0 commit comments