From fb685ef60a0852b5fea44c3510d0b523afbbfaf5 Mon Sep 17 00:00:00 2001 From: Stefanie Molin <24376333+stefmolin@users.noreply.github.com> Date: Fri, 7 Apr 2023 12:49:51 -0700 Subject: [PATCH] Add concurrency to GitHub action for env checks. --- .github/workflows/env-checks.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/env-checks.yml b/.github/workflows/env-checks.yml index a1b7e70a5..285b42804 100644 --- a/.github/workflows/env-checks.yml +++ b/.github/workflows/env-checks.yml @@ -21,6 +21,10 @@ on: schedule: - cron: "11 22 11 * *" +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build"