-
Notifications
You must be signed in to change notification settings - Fork 0
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
improve backport experience #7
Conversation
const runUrl = `${serverUrl}/${owner}/${repo}/actions/runs/${runId}/jobs/${runNumber}`; | ||
const runUrl = `${serverUrl}/${owner}/${repo}/actions/runs/${runId}`; |
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 link is broken
e.g., https://github.com/sourcegraph/sourcegraph/actions/runs/6123459521/jobs/15021
the job id is not exposed from the context, let's just go as far as the summary page of the workflow run
it's good enough
"```", | ||
"", | ||
"- [ ] Follow above instructions to backport the commit.", | ||
`- [ ] Create a pull request where the \`base\` branch is \`${base}\` and the \`compare\`/\`head\` branch is \`${head}\`., [click here to create the pull request](https://github.com/sourcegraph/sourcegraph/compare/${base}...${head}?expand=1).`, |
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.
why not just send people directly to the page to create the pr
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!
I think we would need to make a new release, then update the version we use in the sg/sg repo |
I'll kick off a release. We don't need to update the version in |
the current experience is quite bad when you run into conflict, I prefer to have commands I can just copy and paste to resume the process
post-creation step is easy to miss, i.e., remove
release-blocker
labelhttps://github.com/sourcegraph/sourcegraph/pull/56448#issuecomment-1711833003