Commit 1334548 1 parent 994ef64 commit 1334548 Copy full SHA for 1334548
File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 7
7
# a pull request.
8
8
pull_request :
9
9
types : [opened, synchronize, reopened]
10
- branches :
11
- - main
12
10
13
11
# Declare default permissions as read only.
14
12
permissions : read-all
15
13
16
14
name : Code Generation Check
17
15
jobs :
18
16
check-codegen :
17
+ permissions :
18
+ pull-requests : write
19
19
strategy :
20
20
matrix :
21
21
target : [ mocks, protobuf ]
34
34
continue-on-error : true
35
35
- name : Comment PR - Failure
36
36
if : steps.generate.outcome == 'failure'
37
- permissions :
38
- pull-requests : write
39
37
uses : thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
40
38
with :
41
39
comment_tag : ' code_gen_${{ matrix.target }}'
45
43
up to date. Please review the failed action before deciding to merge the PR.
46
44
- name : Comment PR - Success
47
45
if : steps.generate.outcome != 'failure'
48
- permissions :
49
- pull-requests : write
50
46
uses : thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
51
47
with :
52
48
comment_tag : ' code_gen_${{ matrix.target }}'
You can’t perform that action at this time.
0 commit comments