Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .copier-answers.ci.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
87 changes: 46 additions & 41 deletions .github/ci-config.yml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/ci_update.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/pr_automerge.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_labeler.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_draft.yml
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/setup_labels.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading