Skip to content

Commit 64a8675

Browse files
authored
Use release drafter 7 (#789)
Adapt to release drafter v7 configuration change Release drafter v7 dropped support for `_extends: .github` in the configuration. It either needs to be removed or replaced with a more complete specification like: `_extends: github:jenkinsci/.github:/.github/release-drafter.yml` Testing done * None. Has worked well in many repositories, not expecting any issues in this repository
1 parent ff28c72 commit 64a8675

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc
2-
_extends: .github
2+
_extends: github:jenkinsci/.github:/.github/release-drafter.yml
33
version-template: $MAJOR.$MINOR.$PATCH
44
tag-template: v$NEXT_PATCH_VERSION
55
name-template: v$NEXT_PATCH_VERSION

.github/workflows/release-drafter.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
# Drafts your next Release notes as Pull Requests are merged into the default branch
15-
- uses: release-drafter/release-drafter@v6
16-
env:
17-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
- uses: release-drafter/release-drafter@v7
16+
with:
17+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)