Skip to content

Conversation

@YanxuanLiu
Copy link
Collaborator

Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
@YanxuanLiu YanxuanLiu requested a review from a team as a code owner May 22, 2025 06:55
@YanxuanLiu YanxuanLiu self-assigned this May 22, 2025
@YanxuanLiu YanxuanLiu requested review from NvTimLiu, pxLi and yinqingh May 22, 2025 06:56
@pxLi pxLi requested a review from gerashegalov May 22, 2025 06:58
pxLi
pxLi previously approved these changes May 22, 2025
Copy link
Member

@pxLi pxLi left a comment

Choose a reason for hiding this comment

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

Lets add the check ref to this change directly for common repo, thanks

@pxLi pxLi dismissed their stale review May 22, 2025 07:01

accidental ops

Signed-off-by: Yanxuan Liu <[email protected]>
@YanxuanLiu
Copy link
Collaborator Author

Lets add the check ref to this change directly for common repo, thanks

Added. Should we skip for [bot] PR? Currently I set to skip.

@pxLi
Copy link
Member

pxLi commented May 22, 2025

Lets add the check ref to this change directly for common repo, thanks

Added. Should we skip for [bot] PR? Currently I set to skip.

Yes, that would be better~

uses: actions/github-script@v7
with:
script: |
return context.payload.pull_request?.body || '';
Copy link
Member

@pxLi pxLi May 22, 2025

Choose a reason for hiding this comment

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

nit: looks like github-script could cover the whole process and also leverage the core.setFailed() to update the fail message to the check status directly. Can you try ask LLM to generate some JS code if possible, thanks
image

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Do you have the screenshot for the failed one in check status? Or let me edit again

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

image
image

Now we can update the status in PR check list

Copy link
Member

Choose a reason for hiding this comment

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

nice! can we make merge them into the same check instead of create another status item

Copy link
Collaborator Author

@YanxuanLiu YanxuanLiu May 23, 2025

Choose a reason for hiding this comment

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

Optimized the context name:
image
image

@pxLi pxLi requested a review from Copilot May 22, 2025 07:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a GitHub Action to check for HTML comments in pull request descriptions, addressing issue #31.

  • Added a new composite GitHub Action in pr-description-check/action.yml that extracts the PR description and checks for HTML comments.
  • Defined a new workflow in .github/workflows/pr-desc-check.yml that triggers the action on PR events.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
pr-description-check/action.yml Adds a composite action that fetches the PR description and validates its content.
.github/workflows/pr-desc-check.yml Sets up a workflow to run the PR Description Check action on PR events.

Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
@pxLi pxLi marked this pull request as draft May 22, 2025 07:48
@pxLi
Copy link
Member

pxLi commented May 22, 2025

convert to draft first to test against API call

Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
YanxuanLiu added 14 commits May 22, 2025 16:47
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
@YanxuanLiu YanxuanLiu marked this pull request as ready for review May 23, 2025 06:06
@YanxuanLiu YanxuanLiu marked this pull request as draft May 23, 2025 06:19
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Signed-off-by: Yanxuan Liu <[email protected]>
Copy link
Member

@pxLi pxLi left a comment

Choose a reason for hiding this comment

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

LGTM, please help apply the action to spark-rapids first after merge, thanks

@YanxuanLiu YanxuanLiu marked this pull request as ready for review May 23, 2025 06:59
@YanxuanLiu YanxuanLiu merged commit 64aa18a into NVIDIA:main May 23, 2025
2 checks passed
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.

[FEA] create a shared check to notify if PR description still includes html comments

2 participants