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.

[GH Actions] Create the getReleasePullRequestList Action

See original GitHub issue

If you haven’t already, check out our contributing guidelines for onboarding!


Problem

When a production deploy completes, we need a way to gather all the PRs for that release. That way, we can comment in each that it’s been deployed to production.

Why is this important?

We need a clear audit trail of which PRs are deployed to production. To do that, we first need to know which PRs are being deployed.

Solution

Create a Github Action called getReleasePullRequestList that takes a TAG as input and:

  1. Fetch all the Expensify.cash releases.
  2. Filter the results to find the release prior to the one with the tag matching the input tag.
  3. Execute the getPullRequestsMergedBetween function with the tag found in step 2 and the tag passed as input.
  4. Return the result of step 3.

Apply to this posting on Upwork: https://www.upwork.com/jobs/~0147f10a003e2162e8

https://github.com/Expensify/Expensify/issues/155144

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
tugbadogancommented, Mar 9, 2021

Yes, it returns 30 most recent tags in the first page. Then I’m going to remove 100 limit and use default value.

1reaction
roryabrahamcommented, Mar 8, 2021

Do we want to return the PR list or do we want to comment on these PRs with this Github Action as well?

Just return the list 😃

Do you want me to trigger that Github Action once I get merged PR list in my action

Nope, no need!

And thanks, proposal looks go so go ahead and submit the PR

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating actions - GitHub Docs
You can create your own actions, use and customize actions shared by the GitHub community, or write and share the actions you build....
Read more >
Use GitHub Actions to make code updates in Azure Functions
Learn how to use GitHub Actions to define a workflow to build and deploy Azure Functions projects in GitHub.
Read more >
Tip 9: Creating a GitHub release in a GitHub Actions workflow
Let's finish up this workflow by distributing our content as a GitHub release. We will create a GitHub release, version it, and then...
Read more >
7 Github Actions Tricks I Wish I Knew Before I Started
These tricks helped me create a more maintainable workflows code. ... You just head over to the “Actions” tab, select the relevant action...
Read more >
Enabling keyless authentication from GitHub Actions
Authenticate from GitHub Actions to create and manage Google Cloud resources ... For example, you can use the auth GitHub Action with the ......
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