Skip to content
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

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

Polynya
Copy link
Collaborator

@Polynya Polynya commented Apr 30, 2024

Include a summary of what this merge request involves (*)

in an issue_comment workflow:

  • Get the PR from the comment using xt0rted/pull-request-comment-branch
  • Set the correct REF_NAME from the PR
  • Sets the correct comment issue-number
  • Remove unnecessary steps.

Call out any relevant implementation decisions

  • Are there any links to back up your chosen methodology?

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

  • Arc
  • Edge
  • Chrome
  • Safari
  • Firefox
  • IE 11 (Windows)
  • iOS Chrome
  • iOS Safari
  • Android Chrome
  • Android Firefox
  • Android default

Copy link

Starting reviewapp

@Polynya Polynya closed this Apr 30, 2024
Copy link

Stopping reviewapp and clearing up

@Polynya Polynya reopened this Apr 30, 2024
Copy link

Starting reviewapp

Copy link

Copy link
Member

@siliconmeadow siliconmeadow left a 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.

Comment on lines -16 to -27
- 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 }}

Copy link
Member

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?

Copy link
Collaborator Author

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,)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • intended! lol

@Polynya Polynya merged commit 8dff29b into develop Apr 30, 2024
Copy link

Stopping reviewapp and clearing up

Copy link

Stopped reviewapp and cleared up

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.

2 participants