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

Release bot #13

Merged
merged 2 commits into from
Jul 17, 2023
Merged

Release bot #13

merged 2 commits into from
Jul 17, 2023

Conversation

richtja
Copy link
Contributor

@richtja richtja commented Jul 11, 2023

This is a github action for creating new release voting, base on the
BP005. It is scheduled on weekly basic. It will check if number of
commits reached a set threshold and if yes it will open a new discussion
for release voting, if the discussion is already open it will write a
reminding comment to notify maintainers bout voting.

This action needs predefined secrets and variables in repository
setting.

secrets:
MR_AVOCADO_ID: id of avocado bot
MR_AVOCADO_INSTALLATION_ID: id of avocado bot installation
MR_AVOCADO_PRIVATE_KEY: private key of avocado bot for authentication

variables:
RELEASE_THRESHOLD: commit threshold for voting
REPOSITORY_ID: id of autils repository
CATEGORY_ID: id of voting discussion category

You can find example of created discussion here

Reference: #7
Signed-off-by: Jan Richter [email protected]

@richtja richtja added the enhancement New feature or request label Jul 11, 2023
@richtja richtja requested a review from clebergnu July 11, 2023 12:28
@richtja richtja self-assigned this Jul 11, 2023
It will add GitHub username of utility maintainer inside utility
metadata. This change will make identification of maintainers easier on
GitHub, and those usernames can be used by bots for notifications.

Signed-off-by: Jan Richter <[email protected]>
This is a github action for creating new release voting, base on the
BP005. It is scheduled on weekly basic. It will check if number of
commits reached a set threshold and if yes it will open a new discussion
for release voting, if the discussion is already open it will write a
reminding comment to notify maintainers bout voting.

This action needs predefined secrets and variables in repository
setting.

secrets:
MR_AVOCADO_ID: id of avocado bot
MR_AVOCADO_INSTALLATION_ID: id of avocado bot installation
MR_AVOCADO_PRIVATE_KEY: private key of avocado bot for authentication

variables:
RELEASE_THRESHOLD: commit threshold for voting
REPOSITORY_ID: id of autils repository
CATEGORY_ID: id of voting discussion category

Reference: #7
Signed-off-by: Jan Richter <[email protected]>
Copy link
Contributor

@clebergnu clebergnu left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@clebergnu clebergnu merged commit 99d8df3 into avocado-framework:main Jul 17, 2023
@richtja richtja deleted the release_bot branch July 17, 2023 09:30
@richtja richtja mentioned this pull request Jul 17, 2023
@richtja richtja restored the release_bot branch February 15, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants