diff --git a/.github/workflows/flake.yml b/.github/workflows/flake.yml index b4a7958..8db73e9 100644 --- a/.github/workflows/flake.yml +++ b/.github/workflows/flake.yml @@ -11,3 +11,9 @@ jobs: with: excluded_errors: F632 + +# Cancel previous in-progress when pushing: https://stackoverflow.com/a/72408109 +concurrency: +concurrency: + group: ${{ github.workflow }}-${{ github.ref || github.run_id }} + cancel-in-progress: true