From f7b99f48c53c7f6efb4729c03fa893d87de98c60 Mon Sep 17 00:00:00 2001 From: Takuma IMAMURA <209989118+hyperfinitism@users.noreply.github.com> Date: Tue, 10 Feb 2026 09:19:43 +0900 Subject: [PATCH] ci: enable cancel-in-progress and simplify triggers --- .github/workflows/pylint.yml | 9 +++++---- .github/workflows/spdx.yml | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) 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