The v7 of release-drafter introduces some breaking changes requiring changes in the config files stored here.
See docs: https://github.com/release-drafter/release-drafter/blob/master/docs/configuration-loading.md, mentionned in the changelog:
following the removal of probot, we replaced the Probot Config plugin with custom-made syntax and capabilities. Key takeaways are :
- fallback to your org/user .github repo does not work anymore. You will need to be explicit about it. (ex: config-name: .github:/configs/release-drafter/main.yaml)
- the _extends config-keyword now uses the same syntax as the config-name: input. Read more in the Configuration Loading article
See also failed/failing attempts at upgrading release-drafter:
In my understanding, at least 1 thing to fix in this repo is the reference in https://github.com/playframework/.github/blob/main/.github/release-drafts/increasing-minor-version.yml to _extends: .github:.github/release-drafts/base.yml which should be made absolute or relative to the increasing-minor-version.yml?
- _extends: .github:.github/release-drafts/base.yml
+ _extends: .github:/.github/release-drafts/base.yml
or
+ _extends: .github:base.yml
Then, some changes may also be required in downstream projects like:
- explicitly use this
.github repo:
- config-name: release-drafts/increasing-minor-version.yml
+ config-name: .github:release-drafts/increasing-minor-version.yml
- do not specify the
.github folder or use absolute path
- _extends: .github:.github/release-drafts/increasing-minor-version.yml
+ _extends: .github:release-drafts/increasing-minor-version.yml
or
+ _extends: .github:/.github/release-drafts/increasing-minor-version.yml
The v7 of release-drafter introduces some breaking changes requiring changes in the config files stored here.
See docs: https://github.com/release-drafter/release-drafter/blob/master/docs/configuration-loading.md, mentionned in the changelog:
See also failed/failing attempts at upgrading release-drafter:
Repo load failed. Config file not found with error 404. (target: playframework/.github:.github/release-drafts/.github/release-drafts/base.yml)Repo load failed. Config file not found with error 404. (target: playframework/.github:.github/.github/release-drafts/increasing-patch-version.yml)In my understanding, at least 1 thing to fix in this repo is the reference in https://github.com/playframework/.github/blob/main/.github/release-drafts/increasing-minor-version.yml to
_extends: .github:.github/release-drafts/base.ymlwhich should be made absolute or relative to theincreasing-minor-version.yml?Then, some changes may also be required in downstream projects like:
.githubrepo:.githubfolder or use absolute path