chore(CI): Checkout pr branch when event is issue_comment#2754
Merged
Keith-CY merged 1 commit intonervosnetwork:developfrom Jul 4, 2023
Merged
chore(CI): Checkout pr branch when event is issue_comment#2754Keith-CY merged 1 commit intonervosnetwork:developfrom
Keith-CY merged 1 commit intonervosnetwork:developfrom
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Because the
outputs.refis the fork repo's branch name. So we should add the repo parameter forcheckoutaction when the event isissue_comment.Examples:
Trigger by push: https://github.com/yanguoyu/neuron/actions/runs/5419801750
Trigger by issue_comment with current repo: pr, action: https://github.com/yanguoyu/neuron/actions/runs/5441117221
Trigger by issue_comment with fork repo: pr, action: https://github.com/yanguoyu/neuron/actions/runs/5441115012