Skip to content

Only cancel in-progress runs on PRs #86

Only cancel in-progress runs on PRs

Only cancel in-progress runs on PRs #86

Workflow file for this run

name: Check
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
check:
runs-on: "ubuntu-latest"
name: "check"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: "Run checks"
run: |
python ./check.py