Skip to content

Commit

Permalink
chore(ci): cancel any in-flight jobs for the same PR branch (#1116)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
  • Loading branch information
danielpacak authored Apr 8, 2022
1 parent 8995fb7 commit 4ab64f9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ env:
GO_VERSION: "1.17"
KIND_VERSION: "v0.11.1"
KIND_IMAGE: "kindest/node:v1.21.1@sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6"

# Cancel any in-flight jobs for the same PR branch so there's only one active
# at a time.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
verify-code:
name: Verify code
Expand Down

0 comments on commit 4ab64f9

Please sign in to comment.