blob: b40d1d61c2283e0b5936ceaa66a6ad20e7c8c56e [file] [log] [blame]
on:
pull_request: # to update newly open PRs or when a PR is synced
check_suite: # to update all PRs upon a Check Suite completion
type: ['completed']
name: Branch Guard
jobs:
branch-guard:
name: Branch Guard
if: github.event.check_suite.head_branch == 'master' || github.event.pull_request.base.ref == 'master'
runs-on: ubuntu-latest
steps:
- uses: cirrus-actions/branch-guard@v1.2
with:
appsToCheck: Cirrus CI # or any other App name (can be a comma separated list of names)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}