From d578801ff0de0d5d35ba05a126e527d4a9330208 Mon Sep 17 00:00:00 2001 From: versnic <37933264+versnic@users.noreply.github.com> Date: Wed, 11 Nov 2026 20:52:19 +0100 Subject: [PATCH] ci: catch up with repo-template --- .github/PULL_REQUEST_TEMPLATE.md | 1 + .github/workflows/ai-disclosure.yml | 2 +- .github/workflows/labels.yml | 2 +- .github/workflows/pr-labels.yml | 2 +- .github/workflows/pr-title.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/repo-check.yml | 25 +++++++++++++++++++++++++ .github/workflows/zizmor.yml | 2 +- 8 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/repo-check.yml diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index a0a49fd..8e61cf7 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -22,3 +22,4 @@ - [ ] The README describes the change - [ ] The roadmap is updated if this completes a roadmap item - [ ] Tested in a real terminal with a temporary configuration (`DEV_WORKSPACE_CONFIG`), if the change affects what the CLI shows or does +- [ ] The README, roadmap and guides are up to date with the change diff --git a/.github/workflows/ai-disclosure.yml b/.github/workflows/ai-disclosure.yml index 90f318c..7a1d4af 100644 --- a/.github/workflows/ai-disclosure.yml +++ b/.github/workflows/ai-disclosure.yml @@ -13,4 +13,4 @@ permissions: {} jobs: ai-disclosure: name: AI disclosure - uses: modulane/workflows/.github/workflows/ai-disclosure.yml@eeae1ae14ad19a1710cf529474323ebfb59bcc90 # v1.2.0 + uses: modulane/workflows/.github/workflows/ai-disclosure.yml@410a423e4487e60eccb5863c5574cb2ae02669ce # v1.3.0 diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index d0fa3af..5272349 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -15,7 +15,7 @@ permissions: {} jobs: labels: name: Labels - uses: modulane/workflows/.github/workflows/labels.yml@eeae1ae14ad19a1710cf529474323ebfb59bcc90 # v1.2.0 + uses: modulane/workflows/.github/workflows/labels.yml@410a423e4487e60eccb5863c5574cb2ae02669ce # v1.3.0 permissions: contents: read # read .github/labels.json issues: write # create and edit labels diff --git a/.github/workflows/pr-labels.yml b/.github/workflows/pr-labels.yml index ac5e981..30c31bd 100644 --- a/.github/workflows/pr-labels.yml +++ b/.github/workflows/pr-labels.yml @@ -16,6 +16,6 @@ permissions: {} jobs: pr-labels: name: Pull request labels - uses: modulane/workflows/.github/workflows/pr-labels.yml@eeae1ae14ad19a1710cf529474323ebfb59bcc90 # v1.2.0 + uses: modulane/workflows/.github/workflows/pr-labels.yml@410a423e4487e60eccb5863c5574cb2ae02669ce # v1.3.0 permissions: pull-requests: write # add and remove labels, assign the author diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index 8f3f792..36fe23f 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -12,7 +12,7 @@ permissions: {} jobs: pr-title: name: Pull request title - uses: modulane/workflows/.github/workflows/pr-title.yml@eeae1ae14ad19a1710cf529474323ebfb59bcc90 # v1.2.0 + uses: modulane/workflows/.github/workflows/pr-title.yml@410a423e4487e60eccb5863c5574cb2ae02669ce # v1.3.0 permissions: contents: read # list the files of a pull request in a private repository pull-requests: read # read the pull request title and its files diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9190be..aed69db 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -116,7 +116,7 @@ jobs: needs: release # A dry run creates no release to add notes to. if: ${{ !inputs.dry-run }} - uses: modulane/workflows/.github/workflows/release-notes.yml@eeae1ae14ad19a1710cf529474323ebfb59bcc90 # v1.2.0 + uses: modulane/workflows/.github/workflows/release-notes.yml@410a423e4487e60eccb5863c5574cb2ae02669ce # v1.3.0 permissions: contents: write # edit the GitHub releases issues: read # list the issues a pull request closes diff --git a/.github/workflows/repo-check.yml b/.github/workflows/repo-check.yml new file mode 100644 index 0000000..8af207e --- /dev/null +++ b/.github/workflows/repo-check.yml @@ -0,0 +1,25 @@ +name: Repo check + +# Every Monday, modulane/workflows compares this repository with +# modulane/repo-template and keeps one pull request open with what a file +# change can bring back, as Dependabot does for dependencies. Drift that only +# a maintainer can fix, such as a ruleset or a setting, fails the run. The +# repo-check GitHub App makes the pull request, so its checks run. +on: + schedule: + - cron: '0 5 * * 1' + workflow_dispatch: + +permissions: {} + +jobs: + repo-check: + name: Repo check + # Skipped until the App's client ID is set, as in a repository made from + # the template outside modulane (see the README). + if: vars.REPO_CHECK_CLIENT_ID != '' + uses: modulane/workflows/.github/workflows/repo-check.yml@410a423e4487e60eccb5863c5574cb2ae02669ce # v1.3.0 + with: + client-id: ${{ vars.REPO_CHECK_CLIENT_ID }} + secrets: + private-key: ${{ secrets.REPO_CHECK_PRIVATE_KEY }} diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index 9751d18..ddfc05f 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -13,6 +13,6 @@ permissions: {} jobs: zizmor: name: Workflow security - uses: modulane/workflows/.github/workflows/zizmor.yml@eeae1ae14ad19a1710cf529474323ebfb59bcc90 # v1.2.0 + uses: modulane/workflows/.github/workflows/zizmor.yml@410a423e4487e60eccb5863c5574cb2ae02669ce # v1.3.0 permissions: contents: read # read the workflows