File tree 4 files changed +19
-0
lines changed 4 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,15 @@ concurrency:
13
13
group : ${{ github.ref_name }}-codeql
14
14
cancel-in-progress : true
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 @@ -13,6 +13,9 @@ concurrency:
13
13
group : ${{ github.ref_name }}-fossa
14
14
cancel-in-progress : true
15
15
16
+ permissions : # added using https://github.com/step-security/secure-workflows
17
+ contents : read
18
+
16
19
jobs :
17
20
18
21
scan :
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ 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 :
7
10
permissions :
Original file line number Diff line number Diff line change 3
3
schedule :
4
4
- cron : ' 30 1 * * *'
5
5
6
+ permissions : # added using https://github.com/step-security/secure-workflows
7
+ contents : read
8
+
6
9
jobs :
7
10
stale :
11
+ permissions :
12
+ issues : write # for actions/stale to close stale issues
13
+ pull-requests : write # for actions/stale to close stale PRs
8
14
runs-on : ubuntu-20.04
9
15
steps :
10
16
- uses : actions/stale@v6
You can’t perform that action at this time.
0 commit comments