From 6f187cb49cc56669b7477134de10be004ccd470e Mon Sep 17 00:00:00 2001 From: Dustin Martin Date: Fri, 19 Jan 2024 00:40:24 -0500 Subject: [PATCH] Add `concurrency:` directive to CI workflow This cancels any in-progress runs of this workflow when a new commit is pushed to `master`. This seems desirable because the integration tests can take a long time to run. --- .github/workflows/go.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9357b71..01fcbfb 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -5,6 +5,10 @@ on: pull_request: branches: [ master ] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + env: CMGR_LOGGING: debug