diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a3c492ae..c62a90d1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,6 +10,8 @@ on: workflow_dispatch: jobs: + branch-protection: + runs-on: ubuntu-latest clippy: strategy: matrix: @@ -140,3 +142,7 @@ jobs: - name: Run error_packet run: ./target/debug/examples/error_packet # nl80211 not included due to no wireless interfaces on test machines + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true