diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 223fc53..03e9afd 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -1,11 +1,12 @@ name: Pylint on: - push: - branches: [main] pull_request: - branches: [main] - workflow_dispatch: + push: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/spdx.yml b/.github/workflows/spdx.yml index 44fc9ef..2bc76fc 100644 --- a/.github/workflows/spdx.yml +++ b/.github/workflows/spdx.yml @@ -1,11 +1,12 @@ -name: spdx +name: SPDX Check on: pull_request: - branches: [main] push: - branches: [main] - workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read