Skip to content
New issue

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

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

Already on GitHub? # to your account

chore: Setup release-please #933

Merged
merged 5 commits into from
Oct 7, 2024
Merged

chore: Setup release-please #933

merged 5 commits into from
Oct 7, 2024

Conversation

ka3de
Copy link
Contributor

@ka3de ka3de commented Sep 13, 2024

What this PR does / why we need it:
Sets up release-please GH action.

Which issue(s) this PR fixes:
Updates grafana/synthetic-monitoring/issues/50

Sets a minimal configuration for release-please to only handle feat,
fix, and docs commits. Other categories might be included in the future
if considered necessary.
This type only exists to allow forcing release-please PR generation when
the commits from the previous release are all internal (none of them
comply with the supported sections by the release-please configuration).
The convention is to push a single empty commit with message:
`release: Internal release`
Which will indicate that that release only contains internal changes.
@ka3de ka3de marked this pull request as ready for review October 2, 2024 08:17
@ka3de ka3de requested a review from a team as a code owner October 2, 2024 08:17
@ka3de ka3de requested a review from ckbedwell October 2, 2024 08:17
@ka3de ka3de mentioned this pull request Oct 3, 2024
Copy link
Contributor

@VikaCep VikaCep left a comment

Choose a reason for hiding this comment

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

This is amazing! It will simplify a lot of manual tasks, so thanks a lot for setting it up! 🚀🚀🚀
The only thing I think is missing is some docs describing how the process would work (in particular, for the frontend app) from now on after this PR (and #947) are merged. Apologies if it's already created and I didn't see it.

Comment on lines 15 to 16
{ "type": "chore", "section": "Miscellaneous Chores" },
{ "type": "refactor", "section": "Code Refactoring" },
Copy link
Contributor

Choose a reason for hiding this comment

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

We also use chore and refactor, so we might wanna add them as well.

Copy link
Contributor Author

@ka3de ka3de Oct 4, 2024

Choose a reason for hiding this comment

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

Ah I missed this, I thought these were not being included in the changelog/release notes. Since you are already using these in your workflow and are included in the release I think it makes sense to add them in this case and not break the current "pattern". See d2c69a1.

on:
push:
branches:
- main
Copy link
Contributor

Choose a reason for hiding this comment

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

So, merging to main will always trigger the release, is that right?

Copy link
Contributor Author

@ka3de ka3de Oct 4, 2024

Choose a reason for hiding this comment

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

Ah apologies, I should have linked here the actual process definition, you can see it in https://github.com/grafana/deployment_tools/pull/177384, this is the part specifically for the app here. I'll appreciate any comment that you have on that PR too.

These types are already being used in the workflow for the app and
included in the changelog and release notes, therefore it makes sense to
keep supporting them and not break the current pattern.
@ka3de ka3de merged commit e7ebcd6 into main Oct 7, 2024
5 checks passed
@ka3de ka3de deleted the setup-release-please branch October 7, 2024 12:52
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants