Conversation
…lure analysis, and release notes Co-authored-by: benbalter <282759+benbalter@users.noreply.github.com>
|
@copilot compile workflows |
- Fix pr-review.md: replace invalid 'files' toolset with 'repos' - Fix ci-failure-analysis.md: add branch restriction to workflow_run trigger - Fix release-notes.md: add missing issues/pull-requests read permissions - Add compiled .lock.yml files for all four agentic workflows Co-authored-by: benbalter <282759+benbalter@users.noreply.github.com>
Compiled all four workflows with
All four Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
There was a problem hiding this comment.
Pull request overview
Adds GitHub Agentic Workflows (gh-aw) to automate common repo maintenance tasks (issue triage, PR review, CI failure diagnostics, and release notes) by introducing human-authored workflow prompts (.md) plus their compiled .lock.yml counterparts, and marking lockfiles as generated.
Changes:
- Add 4 new gh-aw workflow definitions (
issue-triage,pr-review,ci-failure-analysis,release-notes) under.github/workflows/. - Commit the corresponding compiled
.lock.ymlworkflow files generated bygh aw compile. - Add
.gitattributesrule to treat*.lock.ymlas generated (and influence merge behavior).
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| .gitattributes | Marks gh-aw lockfiles as generated and sets merge behavior for them. |
| .github/workflows/issue-triage.md | Defines the issue triage agent prompt and safe outputs (labels/comment). |
| .github/workflows/issue-triage.lock.yml | Compiled GitHub Actions workflow for issue triage agent. |
| .github/workflows/pr-review.md | Defines the PR review agent prompt and safe outputs (comment/label). |
| .github/workflows/pr-review.lock.yml | Compiled GitHub Actions workflow for PR review agent. |
| .github/workflows/ci-failure-analysis.md | Defines the CI failure analysis agent prompt and safe outputs (comment). |
| .github/workflows/ci-failure-analysis.lock.yml | Compiled GitHub Actions workflow for CI failure analysis agent. |
| .github/workflows/release-notes.md | Defines the release notes agent prompt and safe outputs (update release). |
| .github/workflows/release-notes.lock.yml | Compiled GitHub Actions workflow for release notes agent. |
You can also share your feedback on Copilot code review. Take the survey.
| @@ -0,0 +1 @@ | |||
| .github/workflows/*.lock.yml linguist-generated=true merge=ours No newline at end of file | |||
| pull-requests: read | ||
| tools: | ||
| github: | ||
| toolsets: [pull_requests, issues] |
| if: (always()) && (needs.agent.result != 'skipped') | ||
| runs-on: ubuntu-slim | ||
| permissions: | ||
| contents: write |
Adds four GitHub Agentic Workflows to automate common repository management tasks using AI-powered agents, along with their compiled
.lock.ymlfiles.Workflows Added
issue-triage.md) — Automatically classifies and labels new issues asbug,feature, ormore-information-needed, with optionalgood first issue/help wantedlabels. Posts a comment explaining the classification.pr-review.md) — Reviews pull requests for PHP 7.2.5+ compatibility, WordPress Coding Standards compliance, internationalization, security best practices, test coverage, and project conventions.ci-failure-analysis.md) — Analyzes failed CI runs on themasterbranch and posts actionable diagnostics on the associated pull request, including suggestions likescript/fmtfor style fixes.release-notes.md) — Generates categorized release notes (features, bug fixes, docs, maintenance, breaking changes) with contributor credits when a new release is created.Compiled Workflows
All four workflows are compiled with
gh aw compile(v0.60.0) into.lock.ymlfiles with 0 errors and 0 warnings. A.gitattributesfile is included to mark lock files as auto-generated.Security Model
All workflows use read-only permissions by default with minimal write operations gated behind
safe-outputs:add-labels(max 2, allowlisted),add-comment(max 1)add-comment(max 1),add-labels(max 1)add-comment(max 1)update-release(max 1)📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.