File tree Expand file tree Collapse file tree 7 files changed +23
-2
lines changed Expand file tree Collapse file tree 7 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 28
28
required : false
29
29
type : string
30
30
31
+ permissions :
32
+ contents : read
33
+
31
34
jobs :
32
35
build-test :
33
36
Original file line number Diff line number Diff line change 7
7
branches : [ 'main*' ]
8
8
9
9
permissions :
10
- issues : write
11
- pull-requests : write
10
+ contents : read
12
11
13
12
jobs :
14
13
add-labels-on-issues :
14
+ permissions :
15
+ issues : write
15
16
if : github.event_name == 'issues' && !github.event.issue.pull_request
16
17
17
18
runs-on : ubuntu-22.04
33
34
ISSUE_BODY : ${{ github.event.issue.body }}
34
35
35
36
add-labels-on-pull-requests :
37
+ permissions :
38
+ pull-requests : write
36
39
if : github.event_name == 'pull_request_target'
37
40
38
41
runs-on : ubuntu-22.04
Original file line number Diff line number Diff line change 9
9
pull_request :
10
10
branches : [ 'main*' ]
11
11
12
+ permissions :
13
+ contents : read
14
+
12
15
jobs :
13
16
lint-misspell-sanitycheck :
14
17
uses : ./.github/workflows/sanitycheck.yml
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ name: Lint - Markdown
5
5
on :
6
6
workflow_call :
7
7
8
+ permissions :
9
+ contents : read
10
+
8
11
jobs :
9
12
run-markdownlint :
10
13
runs-on : ubuntu-22.04
Original file line number Diff line number Diff line change 16
16
types :
17
17
- created
18
18
19
+ permissions :
20
+ contents : read
21
+
19
22
jobs :
20
23
automation :
21
24
uses : ./.github/workflows/automation.yml
Original file line number Diff line number Diff line change 23
23
types :
24
24
- created
25
25
26
+ permissions :
27
+ contents : read
28
+
26
29
jobs :
27
30
automation :
28
31
uses : ./.github/workflows/automation.yml
Original file line number Diff line number Diff line change 16
16
schedule :
17
17
- cron : ' 0 0 * * *' # once in a day at 00:00
18
18
19
+ permissions :
20
+ contents : read
21
+
19
22
jobs :
20
23
automation :
21
24
uses : ./.github/workflows/automation.yml
You can’t perform that action at this time.
0 commit comments