diff --git a/.github/workflows/nox.yml b/.github/workflows/nox.yml index 15cb9807e8..7c299d10b6 100644 --- a/.github/workflows/nox.yml +++ b/.github/workflows/nox.yml @@ -15,14 +15,14 @@ name: nox - cron: '0 8 * * *' workflow_dispatch: +concurrency: + # Make sure there is at most one active run per PR, but do not cancel any non-PR runs + group: ${{ github.workflow }}-${{ (github.head_ref && github.event.number) || github.run_id }} + cancel-in-progress: true + jobs: nox: - runs-on: ubuntu-latest - name: "Run extra sanity tests" - steps: - - name: Check out collection - uses: actions/checkout@v6 - with: - persist-credentials: false - - name: Run nox - uses: ansible-community/antsibull-nox@main + uses: ansible-community/antsibull-nox/.github/workflows/reusable-nox-run.yml@main + with: + session-name: Run extra sanity tests + change-detection-in-prs: true