question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Releases] Auto-label pull requests on release branches to have "Pick Request"

See original GitHub issue

I looked into whether we can do this via react-native-bot but it seems like the candidates for the bot is based on Github search: https://github.com/hramos/react-native-bot/blob/master/lib/bot/pullrequests.rb#L48

So I think this might need to be a Github action.

Release branches should follow the form: {major}.{minor}-stable

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
cortinicocommented, Jan 18, 2022

@lunaleaps would it be fine to use something like github.com/marketplace/actions/label-regex or would it be necessary developing a custom action for this?

My 2 cents here: this can be easily implemented in Danger. We already have a dangerfile here https://github.com/facebook/react-native/blob/main/bots/dangerfile.js with Danger already configured. We would just need to add a rule that checks if base branch != main -> apply the Pick Request label.

1reaction
cortinicocommented, Jan 19, 2022

Just a quick follow-up, I was able to test it through my fork of the repo and everything worked great.

Great stuff, thanks for doing it 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure DevOps Releases: Auto Create Release with Pull ...
This week we are going to cover how to create a release when a build from a pull request completes. This setup would...
Read more >
Creating merge requests - GitLab Docs
On the top bar, select Main menu > Projects and find your project. · On the left menu, select Merge requests. · In...
Read more >
Add useful labels to your Pull Requests with Github Actions
Adding a label to the pull request with its size it's very helpful, so you have a quick preview about the time it...
Read more >
Working with pull requests in AWS CodeCommit repositories
She might also incorporate changes that have been made in the intended destination branch while the pull request is open, so users can...
Read more >
Pull Requests with GitKraken Client
A pull request (sometimes called merge requests), is a review request. You are asking someone to check the changes on a branch before...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found