Skip to content

Commit 254a81e

Browse files
authored
Create wait-for-checks.yml
Fake workflow to test the `wait-for-checks` feature. refined-github/refined-github#5465 (comment)
1 parent 872c1b4 commit 254a81e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/wait-for-checks.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: wait-for-checks
2+
3+
on:
4+
push:
5+
branches:
6+
- wait-for-checks
7+
8+
jobs:
9+
sleep:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- run: sleep 1
13+
- run: sleep 1
14+
- run: sleep 1
15+
check-commit-message:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- run: sleep 10
19+
- if: contains(github.event.head_commit.message, "FAIL")
20+
run: exit 1

0 commit comments

Comments
 (0)