From 8b19e01632c79dffb5e5be60138280561d1f9940 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 21 Sep 2024 23:02:49 -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 33ff65e..26c75fd 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 59fa59d..faf2f1f 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