Commit 07266e3 1 parent 673682a commit 07266e3 Copy full SHA for 07266e3
File tree 4 files changed +111
-0
lines changed
4 files changed +111
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : main
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ hello-world-main :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : sleep
13
+ run : sleep 5m
14
+
15
+ - name : say-hello-world
16
+ run : echo "Hello World!"
Original file line number Diff line number Diff line change
1
+ queue_rules :
2
+ - name : default
3
+ checks_timeout : 8 h
4
+ merge_method : squash
5
+ queue_conditions :
6
+ - check-success=Summary
7
+ - check-success=hello-world-pr
8
+ priority_rules :
9
+ - name : default
10
+ conditions :
11
+ - -label=flag:urgent
12
+ priority : medium
13
+ - name : urgent
14
+ conditions :
15
+ - label=flag:urgent
16
+ priority : high
17
+ branch_protection_injection_mode : merge
18
+ merge_conditions :
19
+ - " #commits-behind==0"
20
+ - " label=flag:merge"
21
+ - check-success=hello-world-pr
22
+
23
+ pull_request_rules :
24
+ - name : add-to-merge-queue
25
+ conditions :
26
+ - -draft
27
+ - -closed
28
+ - -merged
29
+ - -conflict
30
+ - base=main
31
+ - label=flag:merge
32
+ actions :
33
+ queue :
34
+ - name : remove-merge-on-failure
35
+ conditions :
36
+ - -closed
37
+ - -merged
38
+ - -conflict
39
+ - base=main
40
+ - check-failure=hello-world-pr
41
+ - check-success!=hello-world-pr
42
+ - -label=flag:urgent
43
+ - label=flag:merge
44
+ - " #commits-behind=0"
45
+ - queue-position=0
46
+ actions :
47
+ label :
48
+ remove :
49
+ - flag:merge
50
+ - name : remove-merge-label-conflict
51
+ conditions :
52
+ - -closed
53
+ - -merged
54
+ - base=main
55
+ - -label=flag:urgent
56
+ - label=flag:merge
57
+ - conflict
58
+ actions :
59
+ comment :
60
+ message : The PR has a conflict, removing flag merge.
61
+ label :
62
+ remove :
63
+ - flag:merge
64
+
65
+
Original file line number Diff line number Diff line change
1
+ name : main
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ hello-world :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : sleep
13
+ run : sleep 5m
14
+
15
+ - name : say-hello-world
16
+ run : echo "Hello World!"
17
+
Original file line number Diff line number Diff line change
1
+ name : pr
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ hello-world-pr :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : say-hello-world
13
+ run : echo "Hello World!"
You can’t perform that action at this time.
0 commit comments