From e94570882622a219b13c6c1f6fcf5ac98506f013 Mon Sep 17 00:00:00 2001 From: althack <73732028+althack@users.noreply.github.com> Date: Sun, 19 Jul 2026 15:56:56 +0000 Subject: [PATCH] chore: apply CI template update --- .copier-answers.ci.yml | 2 +- .github/ci-config.yml | 87 +++++++++++++++-------------- .github/workflows/ci_update.yml | 4 +- .github/workflows/pr_automerge.yml | 2 +- .github/workflows/pr_labeler.yml | 2 +- .github/workflows/release_draft.yml | 2 +- .github/workflows/setup_labels.yml | 2 +- 7 files changed, 52 insertions(+), 49 deletions(-) diff --git a/.copier-answers.ci.yml b/.copier-answers.ci.yml index e710fc2..5372486 100644 --- a/.copier-answers.ci.yml +++ b/.copier-answers.ci.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v0.3.0 +_commit: v0.5.0 _src_path: gh:athackst/ci automerge_mode: poll do_releases: true diff --git a/.github/ci-config.yml b/.github/ci-config.yml index d6bad07..552b6ec 100644 --- a/.github/ci-config.yml +++ b/.github/ci-config.yml @@ -1,4 +1,4 @@ -# This file is generated from athackst/ci/template/.github/ci-config.yml.jinja. +# This file is generated from athackst/ci/copier/template/.github/ci-config.yml.jinja. # Do not edit directly; update the template instead. name-template: "Release v$RESOLVED_VERSION" @@ -9,53 +9,58 @@ template: | $CHANGES categories: + - type: pre-exclude + when: + label: skip-changelog - title: ':zap: Breaking' - labels: - - 'breaking' - - 'major' + exclusive: true + semver-increment: major + when: + labels: + - 'breaking' + - 'major' - title: ':rocket: New' - labels: - - 'feature' - - 'enhancement' + exclusive: true + semver-increment: minor + when: + labels: + - 'feature' + - 'enhancement' - title: ':bug: Bug Fixes' - labels: - - 'bug' - - 'fix' + exclusive: true + semver-increment: patch + when: + labels: + - 'bug' + - 'fix' - title: ':toolbox: Maintenance' - labels: - - 'maintenance' - - 'devops' + exclusive: true + semver-increment: patch + when: + labels: + - 'maintenance' + - 'devops' - title: ':memo: Documentation' - labels: - - 'docs' - - 'documentation' + exclusive: true + semver-increment: patch + when: + labels: + - 'docs' + - 'documentation' - title: 'Dependency Updates' - label: 'dependencies' + exclusive: true + semver-increment: patch collapse-after: 3 - -exclude-labels: - - 'skip-changelog' - -version-resolver: - major: - labels: - - 'breaking' - - 'major' - minor: - labels: - - 'feature' - - 'minor' - - 'enhancement' - patch: - labels: - - 'bug' - - 'fix' - - 'maintenance' - - 'docs' - - 'documentation' - - 'devops' - - 'dependencies' - - 'security' + when: + label: dependencies + - type: version-resolver + semver-increment: minor + when: + label: minor + - type: version-resolver + semver-increment: patch + when: + label: security labels: breaking: diff --git a/.github/workflows/ci_update.yml b/.github/workflows/ci_update.yml index 3782dea..bc15d0b 100644 --- a/.github/workflows/ci_update.yml +++ b/.github/workflows/ci_update.yml @@ -1,5 +1,5 @@ -# This file is generated from athackst/ci/template/.github/workflows/ci_update.yml.jinja. +# This file is generated from athackst/ci/copier/template/.github/workflows/ci_update.yml.jinja. # Do not edit directly; update the template instead. name: CI Update @@ -23,7 +23,5 @@ jobs: # Required in this environment to allow PRs that modify .github/workflows/*. actions: write uses: athackst/ci/.github/workflows/ci_updater.yml@main - with: - create-pr: true secrets: token: ${{ secrets.CI_BOT_TOKEN }} diff --git a/.github/workflows/pr_automerge.yml b/.github/workflows/pr_automerge.yml index 46b1bbd..35d4033 100644 --- a/.github/workflows/pr_automerge.yml +++ b/.github/workflows/pr_automerge.yml @@ -1,4 +1,4 @@ -# This file is generated from athackst/ci/template/.github/workflows/pr_automerge.yml.jinja. +# This file is generated from athackst/ci/copier/template/.github/workflows/pr_automerge.yml.jinja. # Do not edit directly; update the template instead. name: PR Automerge diff --git a/.github/workflows/pr_labeler.yml b/.github/workflows/pr_labeler.yml index 573e353..0df74ad 100644 --- a/.github/workflows/pr_labeler.yml +++ b/.github/workflows/pr_labeler.yml @@ -1,4 +1,4 @@ -# This file is generated from athackst/ci/template/.github/workflows/pr_labeler.yml.jinja. +# This file is generated from athackst/ci/copier/template/.github/workflows/pr_labeler.yml.jinja. # Do not edit directly; update the template instead. name: PR Labeler diff --git a/.github/workflows/release_draft.yml b/.github/workflows/release_draft.yml index b4cce61..4171b7f 100644 --- a/.github/workflows/release_draft.yml +++ b/.github/workflows/release_draft.yml @@ -1,4 +1,4 @@ -# This file is generated from athackst/ci/template/.github/workflows/release_draft.yml.jinja. +# This file is generated from athackst/ci/copier/template/.github/workflows/release_draft.yml.jinja. # Do not edit directly; update the template instead. name: Release Draft diff --git a/.github/workflows/setup_labels.yml b/.github/workflows/setup_labels.yml index 8ad5ef0..766625c 100644 --- a/.github/workflows/setup_labels.yml +++ b/.github/workflows/setup_labels.yml @@ -1,4 +1,4 @@ -# This file is generated from athackst/ci/template/.github/workflows/setup_labels.yml.jinja. +# This file is generated from athackst/ci/copier/template/.github/workflows/setup_labels.yml.jinja. # Do not edit directly; update the template instead. name: Setup Labels