-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (37 loc) · 1.02 KB
/
Copy pathmerge-queue.yml
File metadata and controls
41 lines (37 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Merge Queue
on:
pull_request:
types: [labeled]
workflow_dispatch:
inputs:
batch_prs:
type: string
required: false
bisect:
type: boolean
default: false
concurrency:
group: merge-queue
cancel-in-progress: false
permissions: {}
jobs:
queue:
if: >-
github.event_name == 'workflow_dispatch' ||
(github.event.label.name == 'queue' &&
github.event.pull_request.base.ref == 'main' &&
github.event.pull_request.head.repo.full_name == github.repository)
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
actions: write
issues: write
steps:
- uses: jeduden/merge-queue-action@e5ec6faf13c700775aa47f910c60003cf3e6b2f6 # v0.3.0
with:
token: ${{ secrets.MERGE_QUEUE_TOKEN }}
ci_workflow: .github/workflows/ci.yml
batch_size: "5"
bisect: ${{ github.event.inputs.bisect || false }}
batch_prs: ${{ github.event.inputs.batch_prs || '' }}