-
Notifications
You must be signed in to change notification settings - Fork 2
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
LP-118: Use ref name from PR in comment workflow. #444
Conversation
Starting reviewapp |
Stopping reviewapp and clearing up |
Starting reviewapp |
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.
I doubt it's a show stopper - but was curious about those two steps being removed in the start job.
- name: Set latest commit status as pending | ||
uses: myrotvorets/set-commit-status-action@2 | ||
with: | ||
sha: ${{ steps.comment-branch.outputs.head_sha }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
status: pending | ||
|
||
- name: Checkout PR branch | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ steps.comment-branch.outputs.head_ref }} | ||
|
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.
What exactly were these steps indended for? Or why aren't they needed?
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.
I copied from an example without really checking. (It checked out the branch and then deployed it somewhere,)
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.
- intended! lol
Stopping reviewapp and clearing up |
Stopped reviewapp and cleared up |
Include a summary of what this merge request involves (*)
in an issue_comment workflow:
Call out any relevant implementation decisions
https://github.com/xt0rted/pull-request-comment-branch?tab=readme-ov-file#outputs
Why have you taken the approach?
Any particular problem areas?
The issue_comment workflow uses the develop branch so it's not possible to check these changes work until the branch has been merged to develop.
If necessary, please include any relevant screenshots (If not already available on the JIRA ticket)
This PR has been tested in the following browsers