From afdb81ca512e13c93c27bef5498d4ee4e603f4ab Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Fri, 1 Nov 2024 11:01:56 -0400 Subject: [PATCH] Add concurrency. --- .github/workflows/maven.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index dce2b662..4c06dfb8 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -10,6 +10,9 @@ on: branches: [ "main" ] schedule: - cron: "0 2 * * 1-5" +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true jobs: build: