File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 34
34
- name : Remove Label
35
35
if : contains(github.event.pull_request.labels.*.name, 'Re-trigger Pre-commit Hooks')
36
36
run : gh pr edit ${{ github.event.number }} --remove-label 'Re-trigger Pre-commit Hooks'
37
+ continue-on-error : true
37
38
env :
38
39
GH_TOKEN : ${{ github.token }}
39
40
@@ -86,13 +87,15 @@ jobs:
86
87
87
88
- name : Add label if no commits are pending
88
89
if : ${{ failure() && steps.pre-commit.outcome == 'failure' && steps.pre-commit.outputs.pending_commit == '0' && github.event_name == 'pull_request' }}
90
+ continue-on-error : true
89
91
run : |
90
92
gh pr edit ${{ github.event.number }} --add-label 'Status: Pre-commit fixes required ⚠️'
91
93
env :
92
94
GH_TOKEN : ${{ github.token }}
93
95
94
96
- name : Remove label if everything was fixed
95
97
if : ${{ success() && github.event_name == 'pull_request' }}
98
+ continue-on-error : true
96
99
run : |
97
100
gh pr edit ${{ github.event.number }} --remove-label 'Status: Pre-commit fixes required ⚠️'
98
101
env :
You can’t perform that action at this time.
0 commit comments