-
Notifications
You must be signed in to change notification settings - Fork 81
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
Clean up PR previews #1697
Clean up PR previews #1697
Conversation
Co-authored-by: Eric Arellano <[email protected]>
Seems `git switch` fails if given a commit, whereas `checkout` can handle commits and branch names.
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 looks great!
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.
Good find with git checkout
vs git switch
! Could you please fix the raise SystemExit()
in run_subprocess to be
raise SystemExit(1)`? I realized we haven't been setting the exit code correctly, which messes up GH Actions.
Good call with the exit code, I wondered why the action continued |
Co-authored-by: Eric Arellano <[email protected]>
d0b941f
to
44fff28
Compare
Adds a script and action to delete PR previews for closed PRs. See ce7e3fb for an example. --------- Co-authored-by: Eric Arellano <[email protected]>
Adds a script and action to delete PR previews for closed PRs. See 3a29f15 for an example.