From ef9969ab598f9328ad40d9f5165b4c9142b8249d Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 21 Sep 2024 23:38:05 -0400 Subject: [PATCH] tests: setup concurrency for lint and ci workflows --- .github/workflows/ci.yml | 4 ++++ .github/workflows/lint.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d81ad3f..10e74be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,10 @@ on: branches: - "main" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build: name: build diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4987615..e0e9cf7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,6 +10,10 @@ on: branches: - "main" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: hadolint: name: hadolint