Merge Gatekeeper #10
Workflow file for this run
This file contains 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 Gatekeeper | |
on: | |
pull_request: | |
merge_group: | |
jobs: | |
merge-gatekeeper: | |
runs-on: ubuntu-latest | |
permissions: | |
checks: read | |
statuses: read | |
steps: | |
- name: Run Merge Gatekeeper | |
if: github.event_name != 'merge_group' | |
uses: upsidr/merge-gatekeeper@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
timeout: 600 # 10-minute timeout, since ARM v7 container builds may take ~5 minutes to run | |
interval: 30 | |
- name: Run Merge Gatekeeper in Merge Queue | |
if: github.event_name == 'merge_group' | |
uses: upsidr/merge-gatekeeper@v1 | |
with: | |
ref: ${{github.ref}} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
timeout: 600 # 10-minute timeout, since ARM v7 container builds may take ~5 minutes to run | |
interval: 15 |