Skip to content

Commit 56e5b2c

Browse files
authored
ci: Specify activity trigger type in ci events for merge queues (#1465)
Specify activity trigger type as checks_requested for merge_group ci event. Currently this is the only supported activity type but this stops us being surprised by unexpected triggers if they add more.
1 parent 0f4cf89 commit 56e5b2c

5 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/asyncapi.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
tags:
1010
- '*'
1111
pull_request:
12+
merge_group:
13+
types: [checks_requested]
1214

1315
jobs:
1416
validate:

.github/workflows/backstage.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
tags:
88
- '*'
99
pull_request:
10+
merge_group:
11+
types: [checks_requested]
1012

1113
jobs:
1214
validate:

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- "*"
99
pull_request:
1010
merge_group:
11+
types: [checks_requested]
1112

1213
jobs:
1314
lint:

.github/workflows/codeql.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ on:
1818
tags:
1919
- '*'
2020
pull_request:
21-
21+
merge_group:
22+
types: [checks_requested]
2223

2324
jobs:
2425
analyze:

.github/workflows/pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
types: [opened, synchronize, reopened, edited]
66
merge_group:
7+
types: [checks_requested]
78

89
jobs:
910
validate-pr-title:

0 commit comments

Comments
 (0)