Skip to content

Commit 7d8bf66

Browse files
committed
ci: add shadow merge queue workflow with configurable settings
Signed-off-by: igorjs <oss@mail.igorjs.io>
1 parent 8186c59 commit 7d8bf66

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/merge-queue.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Merge Queue (shadow)
2+
on:
3+
pull_request:
4+
types:
5+
[
6+
opened,
7+
reopened,
8+
ready_for_review,
9+
synchronize,
10+
converted_to_draft,
11+
review_requested,
12+
]
13+
schedule:
14+
- cron: "*/5 * * * *"
15+
workflow_dispatch: {}
16+
17+
permissions:
18+
contents: write
19+
pull-requests: write
20+
statuses: write
21+
22+
concurrency:
23+
group: merge-queue
24+
cancel-in-progress: true
25+
26+
jobs:
27+
queue:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: igorjs/gh-actions-merge-queue@main
31+
with:
32+
base_branch: main
33+
mode: shadow
34+
merge_method: merge
35+
status_context: merge-queue
36+
behind_max_commits: "100"
37+
fastlane_matchers: "^(hotfix|critical|security)/,\\bhotfix\\b,^hotfix:"

0 commit comments

Comments
 (0)