From 08897074debd1ea3f7ae6a75ddb212a6f2596faf Mon Sep 17 00:00:00 2001 From: Mateusz Galazyn Date: Tue, 19 May 2026 19:13:27 +0200 Subject: [PATCH 1/2] Switch to herald for releasing --- .changes/_TEMPLATE.yml | 27 +++++++ .github/PULL_REQUEST_TEMPLATE.md | 32 ++++---- .github/workflows/check-pr-changelog.yml | 97 +++++------------------- .github/workflows/haskell.yml | 2 +- .github/workflows/release.yml | 43 +++++++++++ .herald.yml | 67 ++++++++++++++++ 6 files changed, 173 insertions(+), 95 deletions(-) create mode 100644 .changes/_TEMPLATE.yml create mode 100644 .github/workflows/release.yml create mode 100644 .herald.yml diff --git a/.changes/_TEMPLATE.yml b/.changes/_TEMPLATE.yml new file mode 100644 index 0000000000..e84bf9d344 --- /dev/null +++ b/.changes/_TEMPLATE.yml @@ -0,0 +1,27 @@ +# Changelog fragment template - copy this file and fill in the fields. +# Or use 'herald new' for interactive creation. +# +# Files starting with _ are ignored by herald. +# +# Available projects and kinds are defined in .herald.yml + +# Which project this change belongs to (see 'projects' in .herald.yml) +project: cardano-cli + +# Pull request number associated with this change +pr: 0 + +# One or more change kinds (see 'kinds' in .herald.yml) +kind: +# - breaking # the API has changed in a breaking way +# - feature # introduces a new feature +# - compatible # the API has changed but is non-breaking +# - bugfix # fixes a defect +# - optimisation # measurable performance improvements +# - documentation # change in code docs, haddocks +# - refactoring # code quality improvements +# - test # fixes or modifies tests +# - maintenance # not directly related to the code +# - release # related to a new release preparation +description: | + Describe your change here. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4d5830ed8e..3828e3c797 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,21 +1,16 @@ -# Changelog - -```yaml -- description: | - -# uncomment types applicable to the change: - type: - # - feature # introduces a new feature - # - breaking # the API has changed in a breaking way - # - compatible # the API has changed but is non-breaking - # - optimisation # measurable performance improvements - # - refactoring # QoL changes - # - bugfix # fixes a defect - # - test # fixes/modifies tests - # - maintenance # not directly related to the code - # - release # related to a new release preparation - # - documentation # change in code docs, haddocks... -``` + # Context @@ -30,6 +25,7 @@ Highlight important bits of the PR that will make the review faster. If there ar - [ ] Commit sequence broadly makes sense and commits have useful messages - [ ] New tests are added if needed and existing tests are updated. See [Running tests](https://github.com/input-output-hk/cardano-node-wiki/wiki/Running-tests) for more details - [ ] Self-reviewed the diff +- [ ] Changelog fragment added in `.changes/`