-
-
Notifications
You must be signed in to change notification settings - Fork 247
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
Infrastructure: automate release PR creation #7101
base: development
Are you sure you want to change the base?
Conversation
Add workflow to automatically create a PR to development for every new `release-` branch
💵 To receive payouts, sign up on Algora, link your Github account and connect with Stripe/Alipay. |
Hey there! Thanks for helping Mudlet improve. 🌟 Test versionsYou can directly test the changes here:
No need to install anything - just unzip and run. |
# Automatically creates a PR to development for every new `release-` branch | ||
name: Create Release PR | ||
|
||
on: create |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! Are you certain this condition will only run for new Mudlet releases?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The create
event does not support filtering (like push
does). So this workflow will be called for all new branches. That's why we need the condition on line 12 (which I just noticed I forgot to uncomment 🤦🏻)
if: startsWith(github.ref_name, 'release-')
only allow the job to be executed when the name of the created branch or tag starts with "release-"
Let's discuss this further on #6101
/tip $10 |
@svallory: You just got a $10 tip! We'll notify you once it is processed. |
Add workflow to automatically create a PR to development for every new
release-
branch/claim #6101