Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add and apply release-drafter labels as repository default #2991

Open
NotMyFault opened this issue Jun 14, 2022 · 3 comments
Open

Add and apply release-drafter labels as repository default #2991

NotMyFault opened this issue Jun 14, 2022 · 3 comments
Labels

Comments

@NotMyFault
Copy link
Member

NotMyFault commented Jun 14, 2022

Service(s)

GitHub

Summary

Currently, when you're creating bulk PRs to several hundred repositories, see release-drafter app -> action transition and now the reusable workflow one, repository maintainers often lack labels release-drafter honors (or ignores) for CD actions and changelog creation.
Therefore I'd like to ask if it's possible to:

  • add the release-drafter labels as organization default on the jenkinsci org to apply them automatically on newly created repositories
  • add the labels retroactively to already existing repositories, if the labels don't exist yet. I'm not sure how feasible and desired that is, but according to the GH API docs, a couple of calls take care of it.
    Resources: Listing all repositories, creating new labels

The labels in question are available at: https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.yml#L10-L66.

The named proposals can't mitigate the issue of repository maintainers not using labels, but making the lifecycle for repository maintainers easier by removing the need to create more than a couple of dozen labels, if you repository lacks them, and passively promoting the use of release drafter to generate changelogs.

This issue continues the discussion from jenkinsci/file-parameters-plugin#107.

Reproduction steps

No response

@github-actions github-actions bot added github triage Incoming issues that need review labels Jun 14, 2022
@timja
Copy link
Member

timja commented Jun 15, 2022

This is probably a good tool for it:
https://github.com/github/safe-settings

@NotMyFault
Copy link
Member Author

This is probably a good tool for it: https://github.com/github/safe-settings

Interesting, didn't know something like that exists. Sounds like a good idea to utilize it to be able to apply those kind of changes at any time.

@lemeurherve
Copy link
Member

Related issue: #6

@dduportal dduportal removed the triage Incoming issues that need review label Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants