Skip to content

Add pr comment trigger action#5

Merged
gnpar merged 2 commits into
mainfrom
pr-comment-trigger
Aug 21, 2025
Merged

Add pr comment trigger action#5
gnpar merged 2 commits into
mainfrom
pr-comment-trigger

Conversation

@gnpar
Copy link
Copy Markdown
Contributor

@gnpar gnpar commented Apr 30, 2025

No description provided.

@gnpar gnpar requested a review from Copilot April 30, 2025 11:04
Copy link
Copy Markdown

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 adds a GitHub Action that triggers workflows based on PR comment patterns. It introduces a new composite action to process PR comments with regex matching, a sample workflow demonstrating check creation and commenting, and updates to the README for usage instructions.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
pr-comment-trigger/examples/workflow-with-feedback.yml Workflow to trigger on PR comment, create and update checks, and post feedback comments
pr-comment-trigger/action.yml Composite action processing PR comments with regex matching and optional acknowledgment
pr-comment-trigger/README.md Documentation update for the new PR comment trigger action

Comment thread pr-comment-trigger/examples/workflow-with-feedback.yml
Comment thread pr-comment-trigger/action.yml Outdated
@gnpar
Copy link
Copy Markdown
Contributor Author

gnpar commented Apr 30, 2025

/foo mybar mybaz

@github-actions
Copy link
Copy Markdown

Foo command was executed

Bar: mybar
Baz: mybaz
Status: ✅ Success

This check was triggered by a comment

@gnpar
Copy link
Copy Markdown
Contributor Author

gnpar commented Apr 30, 2025

/foo bar2 baz2

@github-actions
Copy link
Copy Markdown

Foo command was executed

Bar: bar2
Baz: baz2
Status: ✅ Success

This check was triggered by a comment

@gnpar gnpar merged commit 21fe678 into main Aug 21, 2025
1 check passed
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 5, 2026

Foo command was executed

Bar: $(id)
Baz: x
Status: ✅ Success

This check was triggered by a comment

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