File tree Expand file tree Collapse file tree 5 files changed +25
-0
lines changed Expand file tree Collapse file tree 5 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,15 @@ name: CodeQL
13
13
14
14
on : [pull_request]
15
15
16
+ permissions : # added using https://github.com/step-security/secure-workflows
17
+ contents : read
18
+
16
19
jobs :
17
20
analyze :
21
+ permissions :
22
+ actions : read # for github/codeql-action/init to get workflow details
23
+ contents : read # for actions/checkout to fetch code
24
+ security-events : write # for github/codeql-action/autobuild to send a status report
18
25
name : Analyze
19
26
runs-on : ubuntu-latest
20
27
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches : [master]
6
6
7
+ permissions : # added using https://github.com/step-security/secure-workflows
8
+ contents : read
9
+
7
10
jobs :
8
11
build-deploy :
9
12
name : Build and Publish Docker image
Original file line number Diff line number Diff line change @@ -2,8 +2,14 @@ name: Pull Request Labeler
2
2
on :
3
3
- pull_request_target
4
4
5
+ permissions : # added using https://github.com/step-security/secure-workflows
6
+ contents : read
7
+
5
8
jobs :
6
9
triage :
10
+ permissions :
11
+ contents : read # for actions/labeler to determine modified files
12
+ pull-requests : write # for actions/labeler to add labels to PRs
7
13
name : Triage
8
14
runs-on : ubuntu-latest
9
15
steps :
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Lint
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
jobs :
6
9
markdown-link-check :
7
10
name : Check for broken links in Markdown files
Original file line number Diff line number Diff line change @@ -2,8 +2,14 @@ name: Lint
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
jobs :
6
9
build :
10
+ permissions :
11
+ contents : read # for actions/checkout to fetch code
12
+ statuses : write # for github/super-linter/slim to mark status of each linter run
7
13
name : Super-Linter
8
14
runs-on : ubuntu-latest
9
15
steps :
You can’t perform that action at this time.
0 commit comments