diff --git a/.gitea/workflows/ansible-lint.yaml b/.gitea/workflows/ansible-lint.yaml index 719ab1a0..2f1a6f1d 100644 --- a/.gitea/workflows/ansible-lint.yaml +++ b/.gitea/workflows/ansible-lint.yaml @@ -6,10 +6,11 @@ on: # 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 }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true + jobs: ansible-lint: runs-on: ubuntu-latest diff --git a/.gitea/workflows/gitleaks.yaml b/.gitea/workflows/gitleaks.yaml index 8569578b..826e3bea 100644 --- a/.gitea/workflows/gitleaks.yaml +++ b/.gitea/workflows/gitleaks.yaml @@ -6,9 +6,10 @@ on: # 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 }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true + jobs: gitleaks: #runs-on: ubuntu-latest