Add merge-queue skill and document label-driven merge workflow #95
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Merge Queue | |
| # Dummy change to test merge queue action. | |
| 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@10aad589472d158972acc028efbfbcd2ee579af2 # v0.4.1 | |
| 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 || '' }} |