File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ permissions:
17
17
18
18
jobs :
19
19
check-label :
20
- name : Check sl-require-admin-action label is present
20
+ name : Fail CI if sl-require-admin-action label is present
21
21
runs-on : ubuntu-latest
22
22
if :
23
23
${{ contains(github.event.pull_request.labels.*.name,
@@ -44,15 +44,15 @@ jobs:
44
44
});
45
45
}
46
46
47
- - name : Check for sl-require-admin-action label
47
+ - name : Trigger CI failure
48
48
run : |
49
49
echo "The sl-require-admin-action label is present. Failing the job."
50
50
process.exit(1);
51
51
env :
52
52
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
53
53
54
54
prevent-label-removal :
55
- name : Prevent sl-require-admin-action label removal
55
+ name : Prevent sl-require-admin-action label from being removed
56
56
runs-on : ubuntu-latest
57
57
if :
58
58
github.event.action == 'unlabeled' && github.event.label.name ==
91
91
labels: ['sl-require-admin-action'],
92
92
});
93
93
94
- - name : Prevent sl-require-admin-action label removal
94
+ - name : Trigger CI failure
95
95
run : |
96
96
echo "The sl-require-admin-action label cannot be removed. Failing the job."
97
97
process.exit(1);
You can’t perform that action at this time.
0 commit comments