diff --git a/.github/workflows/CheckCompatBounds.yml b/.github/workflows/CheckCompatBounds.yml index f5277d6..718a91f 100644 --- a/.github/workflows/CheckCompatBounds.yml +++ b/.github/workflows/CheckCompatBounds.yml @@ -1,6 +1,9 @@ name: "CheckCompatBounds" on: pull_request: ~ +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: "${{ startsWith(github.ref, 'refs/pull/') }}" permissions: contents: "read" jobs: diff --git a/.github/workflows/CodeQL.yml b/.github/workflows/CodeQL.yml index d2fcb68..5b70afd 100644 --- a/.github/workflows/CodeQL.yml +++ b/.github/workflows/CodeQL.yml @@ -3,6 +3,9 @@ on: pull_request: branches: - "main" +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: "${{ startsWith(github.ref, 'refs/pull/') }}" permissions: contents: "read" security-events: "write" diff --git a/.github/workflows/FormatCheck.yml b/.github/workflows/FormatCheck.yml index 1783b51..e1a1aaa 100644 --- a/.github/workflows/FormatCheck.yml +++ b/.github/workflows/FormatCheck.yml @@ -6,6 +6,9 @@ on: - "synchronize" - "reopened" - "ready_for_review" +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: "${{ startsWith(github.ref, 'refs/pull/') }}" permissions: contents: "read" jobs: diff --git a/.github/workflows/IntegrationTest.yml b/.github/workflows/IntegrationTest.yml index 329116b..5eaa109 100644 --- a/.github/workflows/IntegrationTest.yml +++ b/.github/workflows/IntegrationTest.yml @@ -11,6 +11,9 @@ on: - "reopened" - "ready_for_review" - "converted_to_draft" +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: "${{ startsWith(github.ref, 'refs/pull/') }}" permissions: actions: "read" contents: "read" diff --git a/.github/workflows/VersionCheck.yml b/.github/workflows/VersionCheck.yml index 7d6d202..437bd6b 100644 --- a/.github/workflows/VersionCheck.yml +++ b/.github/workflows/VersionCheck.yml @@ -1,6 +1,9 @@ name: "VersionCheck" on: pull_request: ~ +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: "${{ startsWith(github.ref, 'refs/pull/') }}" permissions: contents: "read" pull-requests: "read" diff --git a/Project.toml b/Project.toml index 103abfd..83d877e 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "ITensorPkgSkeleton" uuid = "3d388ab1-018a-49f4-ae50-18094d5f71ea" -version = "0.3.60" +version = "0.3.61" authors = ["ITensor developers and contributors"] [workspace] diff --git a/template/.github/workflows/CheckCompatBounds.yml.template b/template/.github/workflows/CheckCompatBounds.yml.template index f5277d6..718a91f 100644 --- a/template/.github/workflows/CheckCompatBounds.yml.template +++ b/template/.github/workflows/CheckCompatBounds.yml.template @@ -1,6 +1,9 @@ name: "CheckCompatBounds" on: pull_request: ~ +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: "${{ startsWith(github.ref, 'refs/pull/') }}" permissions: contents: "read" jobs: diff --git a/template/.github/workflows/CodeQL.yml.template b/template/.github/workflows/CodeQL.yml.template index d2fcb68..5b70afd 100644 --- a/template/.github/workflows/CodeQL.yml.template +++ b/template/.github/workflows/CodeQL.yml.template @@ -3,6 +3,9 @@ on: pull_request: branches: - "main" +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: "${{ startsWith(github.ref, 'refs/pull/') }}" permissions: contents: "read" security-events: "write" diff --git a/template/.github/workflows/FormatCheck.yml.template b/template/.github/workflows/FormatCheck.yml.template index 1783b51..e1a1aaa 100644 --- a/template/.github/workflows/FormatCheck.yml.template +++ b/template/.github/workflows/FormatCheck.yml.template @@ -6,6 +6,9 @@ on: - "synchronize" - "reopened" - "ready_for_review" +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: "${{ startsWith(github.ref, 'refs/pull/') }}" permissions: contents: "read" jobs: diff --git a/template/.github/workflows/IntegrationTest.yml.template b/template/.github/workflows/IntegrationTest.yml.template index daa2235..fbefc81 100644 --- a/template/.github/workflows/IntegrationTest.yml.template +++ b/template/.github/workflows/IntegrationTest.yml.template @@ -11,6 +11,9 @@ on: - "reopened" - "ready_for_review" - "converted_to_draft" +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: "${{ startsWith(github.ref, 'refs/pull/') }}" permissions: actions: "read" contents: "read" diff --git a/template/.github/workflows/VersionCheck.yml.template b/template/.github/workflows/VersionCheck.yml.template index 7d6d202..437bd6b 100644 --- a/template/.github/workflows/VersionCheck.yml.template +++ b/template/.github/workflows/VersionCheck.yml.template @@ -1,6 +1,9 @@ name: "VersionCheck" on: pull_request: ~ +concurrency: + group: "${{ github.workflow }}-${{ github.ref }}" + cancel-in-progress: "${{ startsWith(github.ref, 'refs/pull/') }}" permissions: contents: "read" pull-requests: "read"