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

Infrastructure: automate release PR creation #7101

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

svallory
Copy link

Add workflow to automatically create a PR to development for every new release- branch

/claim #6101

Add workflow to automatically create a PR to development for every new `release-` branch
Copy link

algora-pbc bot commented Jan 21, 2024

💵 To receive payouts, sign up on Algora, link your Github account and connect with Stripe/Alipay.

@add-deployment-links
Copy link

add-deployment-links bot commented Jan 21, 2024

Hey there! Thanks for helping Mudlet improve. 🌟

Test versions

You can directly test the changes here:

No need to install anything - just unzip and run.
Let us know if it works well, and if it doesn't, please give details.

# Automatically creates a PR to development for every new `release-` branch
name: Create Release PR

on: create
Copy link
Member

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?

Copy link
Author

@svallory svallory Jan 21, 2024

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

@vadi2
Copy link
Member

vadi2 commented Jan 27, 2024

/tip $10

Copy link

algora-pbc bot commented Jan 27, 2024

Copy link

algora-pbc bot commented Jan 27, 2024

@svallory: You just got a $10 tip! We'll notify you once it is processed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants