We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents da87790 + e734b3b commit d56b260Copy full SHA for d56b260
2 files changed
.github/labels.yaml
@@ -25,3 +25,6 @@
25
- color: 'EC0101'
26
description: Unable to figure out the semver type
27
name: semver:unknown
28
+- color: 'D73A4A'
29
+ description: Do not merge
30
+ name: hold
.github/workflows/check-pr-labels.yaml
@@ -0,0 +1,18 @@
1
+name: Ready
2
+on:
3
+ pull_request_target:
4
+ types:
5
+ - opened
6
+ - labeled
7
+
8
+jobs:
9
+ hold:
10
+ if: github.event.pull_request.merged == false
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - if: >
14
+ contains(github.event.pull_request.labels.*.name, 'hold')
15
+ run: 'false'
16
17
+ !contains(github.event.pull_request.labels.*.name, 'hold')
18
+ run: 'true'
0 commit comments