From b0f28d7f9a02f73c597e8b554c0a36b58073b55b Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 22 Aug 2024 22:03:00 +0200 Subject: [PATCH] dd --- .gitea/workflows/ansible-lint.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/ansible-lint.yaml b/.gitea/workflows/ansible-lint.yaml index 8cd89d0d..719ab1a0 100644 --- a/.gitea/workflows/ansible-lint.yaml +++ b/.gitea/workflows/ansible-lint.yaml @@ -4,6 +4,12 @@ on: branches: [ master ] pull_request: +# https://stackoverflow.com/questions/66335225/how-to-cancel-previous-runs-in-the-pr-when-you-push-new-commitsupdate-the-curre +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + + jobs: ansible-lint: runs-on: ubuntu-latest