-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[No QA] Fix Comment on issues GH action. #3937
Conversation
@roryabraham this is an attempt to fix the break.
|
Unfortunately, I don't think there's any really easy way to do it. Maybe something like this pseudocode: const mergedAt = PR.merged_at;
const allStagingDeployCashIssues = getAllStagingDeployCashIssues().sortBy('newestToOldest');
let stagingDeployCash = null;
for (let issue of allStagingDeployCashIssues) {
if (issue.created < mergedAt) {
// This is the first StagingDeployCash created before this PR was merged.
// Therefore it was the one that was active when the PR was merged.
stagingDeployCash = issue;
break;
}
} |
🚀 Deployed to staging in version: test🚀
|
Update: I have fixed the core issue which broke the GH action in the first place. Now I am doing changes related to #3937 (comment) comment. To test the Changes I will use my old PR #3771 and one more with CP label. Please ignore the Comments like #3937 (comment). Thank you. |
@parasharrajat Did you forget to push your changes here? Let us know when this is ready for review? I think it's still using the non-existent export called |
Yeah, I am doing the last few changes to get the correct StagingDeployIssue and then I will push those changes all along. |
@roryabraham Updated and tested on #3581. Seems to work fine. |
sort: 'created', | ||
direction: 'desc', | ||
labels: GithubUtils.STAGING_DEPLOY_CASH_LABEL, | ||
per_page: 30, |
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.
I think 30 per page is the default, right?
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.
yeah
.github/actions/markPullRequestsAsDeployed/markPullRequestsAsDeployed.js
Outdated
Show resolved
Hide resolved
…eployed.js Co-authored-by: Rory Abraham <47436092+roryabraham@users.noreply.github.com>
Updated |
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.
👍
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging in version: 1.0.77-6🚀
|
🚀 Deployed to production in version: 1.0.79-4🚀
|
Details
It's a follow up PR for #3771 (comment)
Tests
QA Steps
Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android