From 8e4b562b4d90e94c216ac6322fe06a0a86206835 Mon Sep 17 00:00:00 2001 From: Matthew Fishman Date: Sun, 3 May 2026 21:16:43 -0400 Subject: [PATCH] Migrate workflows + templates to ITensorActions v2 + filename-derived names --- .github/workflows/CheckCompatBounds.yml | 6 +++--- .github/workflows/CompatHelper.yml | 4 ++-- .github/workflows/Documentation.yml | 4 ++-- .github/workflows/FormatCheck.yml | 6 +++--- .github/workflows/FormatCheckComment.yml | 10 +++++----- .github/workflows/FormatPullRequest.yml | 6 +++--- .github/workflows/IntegrationTest.yml | 2 +- .github/workflows/IntegrationTestRequest.yml | 7 ++++--- .github/workflows/Registrator.yml | 7 ++++--- .github/workflows/TagBot.yml | 5 +++-- .github/workflows/Tests.yml | 2 +- .github/workflows/VersionCheck.yml | 6 +++--- Project.toml | 2 +- .../.github/workflows/CheckCompatBounds.yml.template | 6 +++--- template/.github/workflows/CompatHelper.yml.template | 4 ++-- template/.github/workflows/Documentation.yml.template | 4 ++-- template/.github/workflows/FormatCheck.yml.template | 6 +++--- .../.github/workflows/FormatCheckComment.yml.template | 10 +++++----- .../.github/workflows/FormatPullRequest.yml.template | 6 +++--- .../.github/workflows/IntegrationTest.yml.template | 2 +- .../workflows/IntegrationTestRequest.yml.template | 7 ++++--- template/.github/workflows/Registrator.yml.template | 7 ++++--- template/.github/workflows/TagBot.yml.template | 5 +++-- template/.github/workflows/Tests.yml.template | 2 +- template/.github/workflows/VersionCheck.yml.template | 6 +++--- 25 files changed, 69 insertions(+), 63 deletions(-) diff --git a/.github/workflows/CheckCompatBounds.yml b/.github/workflows/CheckCompatBounds.yml index 2fb4b15..f5277d6 100644 --- a/.github/workflows/CheckCompatBounds.yml +++ b/.github/workflows/CheckCompatBounds.yml @@ -1,11 +1,11 @@ -name: "Check Compat Bounds" +name: "CheckCompatBounds" on: pull_request: ~ permissions: contents: "read" jobs: check-compat-bounds: - name: "Check Compat Bounds" - uses: "ITensor/ITensorActions/.github/workflows/CheckCompatBounds.yml@v1" + name: "CheckCompatBounds" + uses: "ITensor/ITensorActions/.github/workflows/CheckCompatBounds.yml@v2" with: localregistry: "https://github.com/ITensor/ITensorRegistry.git" diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml index 817a126..305496d 100644 --- a/.github/workflows/CompatHelper.yml +++ b/.github/workflows/CompatHelper.yml @@ -7,9 +7,9 @@ permissions: contents: "write" pull-requests: "write" jobs: - compat-helper: + compathelper: name: "CompatHelper" - uses: "ITensor/ITensorActions/.github/workflows/CompatHelper.yml@v1" + uses: "ITensor/ITensorActions/.github/workflows/CompatHelper.yml@v2" with: localregistry: "https://github.com/ITensor/ITensorRegistry.git" secrets: "inherit" diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index 9bfa4ec..9c6dec4 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -13,9 +13,9 @@ concurrency: permissions: contents: "write" jobs: - build-and-deploy-docs: + documentation: name: "Documentation" - uses: "ITensor/ITensorActions/.github/workflows/Documentation.yml@v1" + uses: "ITensor/ITensorActions/.github/workflows/Documentation.yml@v2" with: localregistry: "https://github.com/ITensor/ITensorRegistry.git" secrets: diff --git a/.github/workflows/FormatCheck.yml b/.github/workflows/FormatCheck.yml index 30828d6..1783b51 100644 --- a/.github/workflows/FormatCheck.yml +++ b/.github/workflows/FormatCheck.yml @@ -1,4 +1,4 @@ -name: "Format Check" +name: "FormatCheck" on: pull_request: types: @@ -10,5 +10,5 @@ permissions: contents: "read" jobs: format-check: - name: "Format Check" - uses: "ITensor/ITensorActions/.github/workflows/FormatCheck.yml@v1" + name: "FormatCheck" + uses: "ITensor/ITensorActions/.github/workflows/FormatCheck.yml@v2" diff --git a/.github/workflows/FormatCheckComment.yml b/.github/workflows/FormatCheckComment.yml index 2fa82ad..3aa4a15 100644 --- a/.github/workflows/FormatCheckComment.yml +++ b/.github/workflows/FormatCheckComment.yml @@ -1,16 +1,16 @@ -name: "Format Check Comment" +name: "FormatCheckComment" on: workflow_run: workflows: - - "Format Check" + - "FormatCheck" types: - "completed" permissions: pull-requests: "write" actions: "read" jobs: - comment: - name: "Format Check Comment" + format-check-comment: + name: "FormatCheckComment" if: "github.event.workflow_run.event == 'pull_request'" - uses: "ITensor/ITensorActions/.github/workflows/FormatCheckComment.yml@v1" + uses: "ITensor/ITensorActions/.github/workflows/FormatCheckComment.yml@v2" secrets: "inherit" diff --git a/.github/workflows/FormatPullRequest.yml b/.github/workflows/FormatPullRequest.yml index 839f190..b0c2b61 100644 --- a/.github/workflows/FormatPullRequest.yml +++ b/.github/workflows/FormatPullRequest.yml @@ -1,4 +1,4 @@ -name: "Format Pull Request" +name: "FormatPullRequest" on: schedule: - cron: "0 0 * * *" @@ -11,6 +11,6 @@ permissions: pull-requests: "write" jobs: format-pull-request: - name: "Format Pull Request" - uses: "ITensor/ITensorActions/.github/workflows/FormatPullRequest.yml@v1" + name: "FormatPullRequest" + uses: "ITensor/ITensorActions/.github/workflows/FormatPullRequest.yml@v2" secrets: "inherit" diff --git a/.github/workflows/IntegrationTest.yml b/.github/workflows/IntegrationTest.yml index 25d3a0d..329116b 100644 --- a/.github/workflows/IntegrationTest.yml +++ b/.github/workflows/IntegrationTest.yml @@ -17,7 +17,7 @@ permissions: jobs: integration-test: name: "IntegrationTest" - uses: "ITensor/ITensorActions/.github/workflows/IntegrationTest.yml@v1" + uses: "ITensor/ITensorActions/.github/workflows/IntegrationTest.yml@v2" secrets: "inherit" with: localregistry: "https://github.com/ITensor/ITensorRegistry.git" diff --git a/.github/workflows/IntegrationTestRequest.yml b/.github/workflows/IntegrationTestRequest.yml index 318ecac..7f7aee2 100644 --- a/.github/workflows/IntegrationTestRequest.yml +++ b/.github/workflows/IntegrationTestRequest.yml @@ -1,4 +1,4 @@ -name: "Integration Test Request" +name: "IntegrationTestRequest" on: issue_comment: types: @@ -9,11 +9,12 @@ permissions: checks: "write" pull-requests: "write" jobs: - integrationrequest: + integration-test-request: + name: "IntegrationTestRequest" if: | github.event.issue.pull_request && contains(fromJSON('["OWNER", "COLLABORATOR", "MEMBER"]'), github.event.comment.author_association) - uses: "ITensor/ITensorActions/.github/workflows/IntegrationTestRequest.yml@v1" + uses: "ITensor/ITensorActions/.github/workflows/IntegrationTestRequest.yml@v2" secrets: "inherit" with: localregistry: "https://github.com/ITensor/ITensorRegistry.git" diff --git a/.github/workflows/Registrator.yml b/.github/workflows/Registrator.yml index a90c11a..82d0a03 100644 --- a/.github/workflows/Registrator.yml +++ b/.github/workflows/Registrator.yml @@ -1,4 +1,4 @@ -name: "Register Package" +name: "Registrator" on: workflow_dispatch: ~ push: @@ -15,8 +15,9 @@ permissions: pull-requests: "write" issues: "write" jobs: - Register: - uses: "ITensor/ITensorActions/.github/workflows/Registrator.yml@v1" + registrator: + name: "Registrator" + uses: "ITensor/ITensorActions/.github/workflows/Registrator.yml@v2" with: localregistry: "ITensor/ITensorRegistry" secrets: "inherit" diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index 007110a..1dd7bed 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -10,7 +10,8 @@ permissions: contents: "write" issues: "read" jobs: - TagBot: + tagbot: + name: "TagBot" if: "github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'" - uses: "ITensor/ITensorActions/.github/workflows/TagBot.yml@v1" + uses: "ITensor/ITensorActions/.github/workflows/TagBot.yml@v2" secrets: "inherit" diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 6e1dce9..7add6ef 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -34,7 +34,7 @@ jobs: - "ubuntu-latest" - "macOS-latest" - "windows-latest" - uses: "ITensor/ITensorActions/.github/workflows/Tests.yml@v1" + uses: "ITensor/ITensorActions/.github/workflows/Tests.yml@v2" with: group: "${{ matrix.group }}" julia-version: "${{ matrix.version }}" diff --git a/.github/workflows/VersionCheck.yml b/.github/workflows/VersionCheck.yml index 7008f48..7d6d202 100644 --- a/.github/workflows/VersionCheck.yml +++ b/.github/workflows/VersionCheck.yml @@ -1,4 +1,4 @@ -name: "Version Check" +name: "VersionCheck" on: pull_request: ~ permissions: @@ -6,7 +6,7 @@ permissions: pull-requests: "read" jobs: version-check: - name: "Version Check" - uses: "ITensor/ITensorActions/.github/workflows/VersionCheck.yml@v1" + name: "VersionCheck" + uses: "ITensor/ITensorActions/.github/workflows/VersionCheck.yml@v2" with: localregistry: "https://github.com/ITensor/ITensorRegistry.git" diff --git a/Project.toml b/Project.toml index fb94872..55b08f4 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "ITensorPkgSkeleton" uuid = "3d388ab1-018a-49f4-ae50-18094d5f71ea" -version = "0.3.58" +version = "0.3.59" authors = ["ITensor developers and contributors"] [workspace] diff --git a/template/.github/workflows/CheckCompatBounds.yml.template b/template/.github/workflows/CheckCompatBounds.yml.template index 2fb4b15..f5277d6 100644 --- a/template/.github/workflows/CheckCompatBounds.yml.template +++ b/template/.github/workflows/CheckCompatBounds.yml.template @@ -1,11 +1,11 @@ -name: "Check Compat Bounds" +name: "CheckCompatBounds" on: pull_request: ~ permissions: contents: "read" jobs: check-compat-bounds: - name: "Check Compat Bounds" - uses: "ITensor/ITensorActions/.github/workflows/CheckCompatBounds.yml@v1" + name: "CheckCompatBounds" + uses: "ITensor/ITensorActions/.github/workflows/CheckCompatBounds.yml@v2" with: localregistry: "https://github.com/ITensor/ITensorRegistry.git" diff --git a/template/.github/workflows/CompatHelper.yml.template b/template/.github/workflows/CompatHelper.yml.template index 817a126..305496d 100644 --- a/template/.github/workflows/CompatHelper.yml.template +++ b/template/.github/workflows/CompatHelper.yml.template @@ -7,9 +7,9 @@ permissions: contents: "write" pull-requests: "write" jobs: - compat-helper: + compathelper: name: "CompatHelper" - uses: "ITensor/ITensorActions/.github/workflows/CompatHelper.yml@v1" + uses: "ITensor/ITensorActions/.github/workflows/CompatHelper.yml@v2" with: localregistry: "https://github.com/ITensor/ITensorRegistry.git" secrets: "inherit" diff --git a/template/.github/workflows/Documentation.yml.template b/template/.github/workflows/Documentation.yml.template index 9bfa4ec..9c6dec4 100644 --- a/template/.github/workflows/Documentation.yml.template +++ b/template/.github/workflows/Documentation.yml.template @@ -13,9 +13,9 @@ concurrency: permissions: contents: "write" jobs: - build-and-deploy-docs: + documentation: name: "Documentation" - uses: "ITensor/ITensorActions/.github/workflows/Documentation.yml@v1" + uses: "ITensor/ITensorActions/.github/workflows/Documentation.yml@v2" with: localregistry: "https://github.com/ITensor/ITensorRegistry.git" secrets: diff --git a/template/.github/workflows/FormatCheck.yml.template b/template/.github/workflows/FormatCheck.yml.template index 30828d6..1783b51 100644 --- a/template/.github/workflows/FormatCheck.yml.template +++ b/template/.github/workflows/FormatCheck.yml.template @@ -1,4 +1,4 @@ -name: "Format Check" +name: "FormatCheck" on: pull_request: types: @@ -10,5 +10,5 @@ permissions: contents: "read" jobs: format-check: - name: "Format Check" - uses: "ITensor/ITensorActions/.github/workflows/FormatCheck.yml@v1" + name: "FormatCheck" + uses: "ITensor/ITensorActions/.github/workflows/FormatCheck.yml@v2" diff --git a/template/.github/workflows/FormatCheckComment.yml.template b/template/.github/workflows/FormatCheckComment.yml.template index 2fa82ad..3aa4a15 100644 --- a/template/.github/workflows/FormatCheckComment.yml.template +++ b/template/.github/workflows/FormatCheckComment.yml.template @@ -1,16 +1,16 @@ -name: "Format Check Comment" +name: "FormatCheckComment" on: workflow_run: workflows: - - "Format Check" + - "FormatCheck" types: - "completed" permissions: pull-requests: "write" actions: "read" jobs: - comment: - name: "Format Check Comment" + format-check-comment: + name: "FormatCheckComment" if: "github.event.workflow_run.event == 'pull_request'" - uses: "ITensor/ITensorActions/.github/workflows/FormatCheckComment.yml@v1" + uses: "ITensor/ITensorActions/.github/workflows/FormatCheckComment.yml@v2" secrets: "inherit" diff --git a/template/.github/workflows/FormatPullRequest.yml.template b/template/.github/workflows/FormatPullRequest.yml.template index 839f190..b0c2b61 100644 --- a/template/.github/workflows/FormatPullRequest.yml.template +++ b/template/.github/workflows/FormatPullRequest.yml.template @@ -1,4 +1,4 @@ -name: "Format Pull Request" +name: "FormatPullRequest" on: schedule: - cron: "0 0 * * *" @@ -11,6 +11,6 @@ permissions: pull-requests: "write" jobs: format-pull-request: - name: "Format Pull Request" - uses: "ITensor/ITensorActions/.github/workflows/FormatPullRequest.yml@v1" + name: "FormatPullRequest" + uses: "ITensor/ITensorActions/.github/workflows/FormatPullRequest.yml@v2" secrets: "inherit" diff --git a/template/.github/workflows/IntegrationTest.yml.template b/template/.github/workflows/IntegrationTest.yml.template index c9888c9..daa2235 100644 --- a/template/.github/workflows/IntegrationTest.yml.template +++ b/template/.github/workflows/IntegrationTest.yml.template @@ -17,7 +17,7 @@ permissions: jobs: integration-test: name: "IntegrationTest" - uses: "ITensor/ITensorActions/.github/workflows/IntegrationTest.yml@v1" + uses: "ITensor/ITensorActions/.github/workflows/IntegrationTest.yml@v2" secrets: "inherit" with: localregistry: "https://github.com/ITensor/ITensorRegistry.git" diff --git a/template/.github/workflows/IntegrationTestRequest.yml.template b/template/.github/workflows/IntegrationTestRequest.yml.template index 318ecac..7f7aee2 100644 --- a/template/.github/workflows/IntegrationTestRequest.yml.template +++ b/template/.github/workflows/IntegrationTestRequest.yml.template @@ -1,4 +1,4 @@ -name: "Integration Test Request" +name: "IntegrationTestRequest" on: issue_comment: types: @@ -9,11 +9,12 @@ permissions: checks: "write" pull-requests: "write" jobs: - integrationrequest: + integration-test-request: + name: "IntegrationTestRequest" if: | github.event.issue.pull_request && contains(fromJSON('["OWNER", "COLLABORATOR", "MEMBER"]'), github.event.comment.author_association) - uses: "ITensor/ITensorActions/.github/workflows/IntegrationTestRequest.yml@v1" + uses: "ITensor/ITensorActions/.github/workflows/IntegrationTestRequest.yml@v2" secrets: "inherit" with: localregistry: "https://github.com/ITensor/ITensorRegistry.git" diff --git a/template/.github/workflows/Registrator.yml.template b/template/.github/workflows/Registrator.yml.template index a90c11a..82d0a03 100644 --- a/template/.github/workflows/Registrator.yml.template +++ b/template/.github/workflows/Registrator.yml.template @@ -1,4 +1,4 @@ -name: "Register Package" +name: "Registrator" on: workflow_dispatch: ~ push: @@ -15,8 +15,9 @@ permissions: pull-requests: "write" issues: "write" jobs: - Register: - uses: "ITensor/ITensorActions/.github/workflows/Registrator.yml@v1" + registrator: + name: "Registrator" + uses: "ITensor/ITensorActions/.github/workflows/Registrator.yml@v2" with: localregistry: "ITensor/ITensorRegistry" secrets: "inherit" diff --git a/template/.github/workflows/TagBot.yml.template b/template/.github/workflows/TagBot.yml.template index 007110a..1dd7bed 100644 --- a/template/.github/workflows/TagBot.yml.template +++ b/template/.github/workflows/TagBot.yml.template @@ -10,7 +10,8 @@ permissions: contents: "write" issues: "read" jobs: - TagBot: + tagbot: + name: "TagBot" if: "github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'" - uses: "ITensor/ITensorActions/.github/workflows/TagBot.yml@v1" + uses: "ITensor/ITensorActions/.github/workflows/TagBot.yml@v2" secrets: "inherit" diff --git a/template/.github/workflows/Tests.yml.template b/template/.github/workflows/Tests.yml.template index 6e1dce9..7add6ef 100644 --- a/template/.github/workflows/Tests.yml.template +++ b/template/.github/workflows/Tests.yml.template @@ -34,7 +34,7 @@ jobs: - "ubuntu-latest" - "macOS-latest" - "windows-latest" - uses: "ITensor/ITensorActions/.github/workflows/Tests.yml@v1" + uses: "ITensor/ITensorActions/.github/workflows/Tests.yml@v2" with: group: "${{ matrix.group }}" julia-version: "${{ matrix.version }}" diff --git a/template/.github/workflows/VersionCheck.yml.template b/template/.github/workflows/VersionCheck.yml.template index 7008f48..7d6d202 100644 --- a/template/.github/workflows/VersionCheck.yml.template +++ b/template/.github/workflows/VersionCheck.yml.template @@ -1,4 +1,4 @@ -name: "Version Check" +name: "VersionCheck" on: pull_request: ~ permissions: @@ -6,7 +6,7 @@ permissions: pull-requests: "read" jobs: version-check: - name: "Version Check" - uses: "ITensor/ITensorActions/.github/workflows/VersionCheck.yml@v1" + name: "VersionCheck" + uses: "ITensor/ITensorActions/.github/workflows/VersionCheck.yml@v2" with: localregistry: "https://github.com/ITensor/ITensorRegistry.git"