diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 244f7031c939c2803df8034f8bbae00cad11dd9a..e7d00e6d3cb45063d2afaf983e324f05ec412f76 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,6 +22,14 @@ jobs: test: # Name the Job name: test + + # Cancel current runs of the workflow if we trigger it again for the same + # ref. + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + + # Set the type of machine to run on # https://github.com/actions/virtual-environments runs-on: ${{ matrix.os }}