-
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
Skip most PR checks on automated pull requests #3499
Conversation
I'm trying to think of any unintended side effects of this.. If we introduce a lint error, but still merge, do we stop deploys from happening today? And after this PR we might ship code that hasn't been tested/linted? |
I was wondering what kinds of things OSBotify does, and from looking around it seems like it can do:
Of these 3, it seems like only the first would require linting & tests to still be run, right? Would this change prevent all of the GHAs from running on CPs? |
So the bottom line is that the only code During CP's, he will cherry pick commits that have already been tested, linted, approved by a human, and merged to main. If there is a merge conflict, he will create the PR but not merge it. Then a human will have to take over, and as soon as they push an update to the pull request, the For the creation of deploy checklists, I don't think that's really related to any of the things we're disabling here: iOS E2E tests, Jest Unit tests, CLA, GHA bundle & podfile validation. All of these are checks that run on PRs, not issues. Except CLA I guess, which we don't really need on deploy checklists anyways. |
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 responses and clarifications @roryabraham ! I'm a 👍
What about you @AndrewGable ? 👍 or 👎 |
Your explanation sounds good, but could we beed up the tests? |
I'm assuming you meant speed up the tests, and yeah ... there's at least one issue to do that. |
Sorry I meant "beef"- the tests for this PR look a bit like they aren't
checking all the things that could go wrong.
On Fri, Jun 18, 2021 at 5:16 PM Rory Abraham ***@***.***> wrote:
could we beed up the tests
I'm assuming you meant *speed up the tests*, and yeah ... there's at
least one issue <Expensify/Expensify#160601> to
do that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3499 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVVCI5DCCSTNHZHTN2OQ33TTPHU3ANCNFSM46M5UAYQ>
.
--
Thanks,
Andrew
|
Added this for after the PR is merged:
Other than that, I'm open to suggestions for other tests we should add. |
✋ 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.73-4🚀
|
🚀 Deployed to production in version: 1.0.74-0🚀
|
Details
Just a small optimization for GH Actions to skip checks on automated pull requests. This is not super important, but has at least three potential benefits:
Also cleans up indentation on these files to be two spaces, which we've standardized on in our other
.yml
workflows.Fixed Issues
n/a
Tests
The checks on this PR should run. When merged, the checks on the version-bump PR should be skipped. Create another PR, and the PR checks should run.
QA Steps
None
Tested On
GitHub only