Skip to content

chore(CI): Checkout pr branch when event is issue_comment#2754

Merged
Keith-CY merged 1 commit intonervosnetwork:developfrom
yanguoyu:test-fork-package
Jul 4, 2023
Merged

chore(CI): Checkout pr branch when event is issue_comment#2754
Keith-CY merged 1 commit intonervosnetwork:developfrom
yanguoyu:test-fork-package

Conversation

@yanguoyu
Copy link
Contributor

@yanguoyu yanguoyu commented Jun 30, 2023

Because the outputs.ref is the fork repo's branch name. So we should add the repo parameter for checkout action when the event is issue_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

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants