We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45b9737 commit 2a00452Copy full SHA for 2a00452
.github/workflows/ready-label-check.yaml
@@ -10,11 +10,19 @@ on:
10
- reopened
11
12
jobs:
13
- check-ready-label:
+ ready-label-fail:
14
if: "!contains(github.event.pull_request.labels.*.name, 'ready')"
15
runs-on: ubuntu-latest
16
steps:
17
- name: Fail if ready label has not been applied to PR
18
run: |
19
echo "::error::The PR is not labeled as 'ready'"
20
exit 1
21
+ ready-label-succeed:
22
+ if: contains(github.event.pull_request.labels.*.name, 'ready')
23
+ runs-on: ubuntu-latest
24
+ steps:
25
+ - name: Succeed if ready label has been applied to PR
26
+ run: |
27
+ echo "::info::The PR is labeled as 'ready'"
28
+ exit 0
0 commit comments