Skip to content

[Infra] Limit concurrnet matrix jobs in spm.yml #16463

[Infra] Limit concurrnet matrix jobs in spm.yml

[Infra] Limit concurrnet matrix jobs in spm.yml #16463

Workflow file for this run

name: danger
on:
pull_request
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
danger:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
- name: Setup Bundler
run: scripts/setup_bundler.sh
- name: Danger
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.DangerGitHubAPIToken }}
run: '[ ! -z $DANGER_GITHUB_API_TOKEN ] && bundle exec danger || echo "Skipping Danger for External Contributor"'