Skip to content

Inital gh-agentic-workflows onboarding - #325

Merged
cgwalters merged 2 commits into
mainfrom
agent-pipeline-rollout
Aug 21, 2026
Merged

Inital gh-agentic-workflows onboarding#325
cgwalters merged 2 commits into
mainfrom
agent-pipeline-rollout

Conversation

@cgwalters

Copy link
Copy Markdown
Collaborator

This pulls in content from https://github.com/bootc-dev/gh-agentic-workflows/

Just PoC for now.

Installed verbatim via `gh aw add bootc-dev/gh-agentic-workflows@v0.2.0`:
an issue labeled `agent/code` gets drafted into a PR, reviewed and
iterated on autonomously (`agent/fixme`/`agent/lgtm` loop), then
squash-merged once a human leaves the real approving review that this
repo's branch protection requires.

Follow-up commit adapts this for bcvk specifically (network access for
cargo, and keeping auto-merge disabled for the initial pilot window).

Assisted-by: AI

Signed-off-by: Colin Walters <walters@verbum.org>
bcvk is Rust, and gh-aw's agent sandbox blocks non-npm package
registries by default, so drafter.md and fix.md need a network:
allowlist or their own cargo check/test steps silently stall (see
gh-agentic-workflows' README, "Repository setup checklist" item 4).

Also keep merge.yml's auto-merge disabled for now, per the pipeline's
own recommended rollout ladder: watch reviewer/fixer judgment quality
on real bcvk issues for a while with a human merging manually before
flipping it on.

Assisted-by: AI

Signed-off-by: Colin Walters <walters@verbum.org>

Copilot AI left a comment

Copy link
Copy Markdown

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 bootstraps gh-agentic-workflows into this repository as an initial PoC, adding the agent workflow sources and automation needed to keep the compiled lock workflows and related pins up to date.

Changes:

  • Adds gh-aw workflow sources for drafter, review, and fix agents (plus the compiled lock workflow for review).
  • Adds “plain” GitHub Actions workflows for upgrading gh-aw, installing required labels, and auto-merging agent PRs (currently disabled for pilot rollout).
  • Adds lock/pin metadata and repo attributes to treat compiled *.lock.yml as generated and avoid merge conflicts.

Reviewed changes

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

Show a summary per file
File Description
.github/workflows/upgrade.yml Scheduled/manual workflow to bump gh-aw version pins, recompile lock workflows, and open/update a PR.
.github/workflows/review.md gh-aw reviewer agent workflow source (labels PRs as agent/fixme or agent/lgtm).
.github/workflows/review.lock.yml Compiled gh-aw workflow output for review.md (generated lock file).
.github/workflows/merge.yml Plain workflow to act on agent/lgtm and merge once CI is green (currently disabled via false &&).
.github/workflows/install-labels.yml Scheduled/manual workflow to create/update the label set required by gh-agentic-workflows.
.github/workflows/fix.md gh-aw fix-iteration agent workflow source (responds to agent/fixme).
.github/workflows/drafter.md gh-aw drafter agent workflow source (responds to agent/code on issues).
.github/aw/actions-lock.json Pins gh-aw compiler-managed action SHAs/versions used by compiled workflows.
.gitattributes Marks *.lock.yml as generated and uses merge=ours to avoid conflicts on compiler output.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

git commit -m "$title"
git push --force-with-lease origin "$branch"

existing=$(gh pr list --head "$branch" --state open --json number --jq '.[0].number')

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Actionable bug


# PR Review Agent

The code agent has opened or updated pull request
Comment on lines +61 to +62
checks=$(gh pr checks "$pr" --repo "$repo" \
--json name,bucket,workflow,link 2>/dev/null || echo '[]')

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Valid but won't matter until auto-merge is enabled.

@gursewak1997 gursewak1997 changed the title Iniital gh-agentic-workflows onboarding Inital gh-agentic-workflows onboarding Aug 21, 2026

@gursewak1997 gursewak1997 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Should update the PR description though

@cgwalters

Copy link
Copy Markdown
Collaborator Author

Should update the PR description though

In what way?

@gursewak1997

Copy link
Copy Markdown
Collaborator

In what way?

I meant a bit more than just saying that we are pulling content from https://github.com/bootc-dev/gh-agentic-workflows/ but honestly, it works as it is.

@cgwalters
cgwalters merged commit 04f91c2 into main Aug 21, 2026
35 of 38 checks passed
@cgwalters

Copy link
Copy Markdown
Collaborator Author

I meant a bit more than just saying that we are pulling content from https://github.com/bootc-dev/gh-agentic-workflows/ but honestly, it works as it is.

Oh yeah there's so much here, but I think the source of truth should be the docs for that repo.

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.

3 participants