Skip to content

Use 'when:' in release-drafter categories for 7.4.0 and later - #186

Open
MarkEWaite wants to merge 1 commit into
jenkinsci:masterfrom
MarkEWaite:adapt-to-release-drafter-7.4.0-categories
Open

Use 'when:' in release-drafter categories for 7.4.0 and later#186
MarkEWaite wants to merge 1 commit into
jenkinsci:masterfrom
MarkEWaite:adapt-to-release-drafter-7.4.0-categories

Conversation

@MarkEWaite

Copy link
Copy Markdown
Contributor

Use 'when:' in release-drafter categories for 7.4.0 and later

Release drafter 7.4.0 was delivered in June and includes a change to the label definitions. They now need to be included in a when: block.

All the plugins in the top 250 actively maintained plugins are using release drafter 7.7.0, either by explicit declaration or by continuous delivery. I did not check the entire set of Jenkins plugins.

This change may need to wait until most of the jenkinsci repositories are using release drafter 7.4.0 or later.

Change is described in release drafter pull request:

Testing done

None. I was unable to find a way to use the change from this pull request in a local test of release drafter configuration.

I tested from the Jenkins core repository with the command:

GH_TOKEN="$(gh auth token)" npx release-drafter jenkinsci/jenkins --dry-run

But no matter how I changed the .github/release-drafter.yml file in that repository, it always read the remote repository. I'm happy to have someone describe how I can test this locally to confirm that the change is working as expected.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

Release drafter 7.4.0 was delivered in June and includes a change to
the label definitions.  They now need to be included in a `when:` block.

This change may need to wait until most of the jenkinsci repositories
are using release drafter 7.4.0 or later.  All the plugins in the top
250 actively maintained plugins are using release drafter 7.7.0.
@lemeurherve

lemeurherve commented Sep 6, 2026

Copy link
Copy Markdown
Member

how I can test this locally to confirm that the change is working as expected.

You should be able to test it in your own (test) GitHub organisation & repo. (not tested)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants