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

Automatic versioning with release drafter #346

Merged
merged 8 commits into from
Jul 11, 2023
Merged

Conversation

marcelveldt
Copy link
Contributor

Automatic version bumps to major, minor or patch based on the labels used within PR's.

@ludeeus @MartinHjelmare

@marcelveldt
Copy link
Contributor Author

Also added the workflow for the PR labels to be mandatory

@marcelveldt marcelveldt added the ci Improvements or additions to the CI actions label Jun 29, 2023
Copy link
Contributor

@MartinHjelmare MartinHjelmare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Side note: It would perhaps be good to be able to run the release-drafter workflow manually via workflow_dispatch event? That way we can re-label PRs and re-run release-drafter.

https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch

@ludeeus
Copy link
Contributor

ludeeus commented Jun 29, 2023

That is one option, you can also just rerun the last run (its the same place as you have to trigger it anyway)

@marcelveldt
Copy link
Contributor Author

So is this PR fine as-is ? We don't adjust the workflow for the labels (and accept the bit of overhead it brings) ?

@marcelveldt marcelveldt merged commit e815ff3 into main Jul 11, 2023
@marcelveldt marcelveldt deleted the release-drafter branch July 11, 2023 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Improvements or additions to the CI actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants