🦙 Tina - Add agentic workflow to leave approval/rejection comments on Tina PRs#4643
🦙 Tina - Add agentic workflow to leave approval/rejection comments on Tina PRs#4643Calinator444 merged 12 commits intomainfrom
Conversation
Coverage report
Test suite run success13 tests passing in 1 suite. Report generated by 🧪jest coverage report action from bb28d0d |
There was a problem hiding this comment.
Pull request overview
This PR introduces a GitHub agentic workflow (gh-aw + Copilot engine) intended to automatically review and approve PRs that contain publishable content-only updates in content/ and/or public/, triggered when a PR is marked ready for review.
Changes:
- Adds an agent prompt definition for “AI Content Reviewer” with approval criteria and actions.
- Adds the compiled gh-aw workflow lock file to run the agent and post an approval/comment via Safe Outputs.
- Adds generated-file/merge handling for lock workflows and an actions SHA lock manifest.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
.github/workflows/auto-approve-content-changes.md |
Defines the agent instructions, approval criteria, and tool usage for auto-approving content PRs. |
.github/workflows/auto-approve-content-changes.lock.yml |
Generated gh-aw workflow that executes the agent and applies Safe Outputs (comment/review) back to the PR. |
.github/aw/actions-lock.json |
Pins required GitHub Actions used by gh-aw (e.g., actions/github-script). |
.gitattributes |
Marks lock workflows as generated and resolves merges using ours to reduce conflicts. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Deployed changes to https://app-sswwebsite-9eb3-pr-4643.azurewebsites.net |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Aligned explicit tool call name for submitting reviews with Frontmatter
|
Deployed changes to https://app-sswwebsite-9eb3-pr-4643.azurewebsites.net |
🚀 Lighthouse score comparison for PR slot and production
|
… of public/content - Made workflow avoid flagging no-ops as issues
…m/SSWConsulting/SSW.Website into auto-approve-tina-content-changes
|
Deployed changes to https://app-sswwebsite-9eb3-pr-4643.azurewebsites.net |
🚀 Lighthouse score comparison for PR slot and production
|
- Added guard to make content check only operate on small content changes
…m/SSWConsulting/SSW.Website into auto-approve-tina-content-changes
|
Deployed changes to https://app-sswwebsite-9eb3-pr-4643.azurewebsites.net |
🚀 Lighthouse score comparison for PR slot and production
|
suiyangqiu
left a comment
There was a problem hiding this comment.
As per my conversation w/ @Calinator444, we're adding a workflow to leave comments
|
Deployed changes to https://app-sswwebsite-9eb3-pr-4643.azurewebsites.net |
🚀 Lighthouse score comparison for PR slot and production
|
…m/SSWConsulting/SSW.Website into auto-approve-tina-content-changes
|
Deployed changes to https://app-sswwebsite-9eb3-pr-4643.azurewebsites.net |
🚀 Lighthouse score comparison for PR slot and production
|
Description
This PR is the first step for adding a GitHub agentic workflow that auto approves small content changes made on the website through Tina. For now the content change will only leave comments on PRs made by users, but once we're confident enough with the flows I will go back and uncomment the stubs for approving/rejecting PRs.
Notes:
ready for reviewwhen the content change is in/publicand/or/content.Todo
(I used the GITHUB_COPILOT_TOKEN in Keeper | SSW.Rules GitHub Service account)
Note
I fixed the copilot CLI version to
v1.0.20to fix MCP firewall issues that were happening with the latest version.Relevant issues
Screenshots
Figure: Agentic workflow approving a content change with a comment
Figure: GitHub Agentic workflows rejecting a conent change with a comment