piagent_
← ~/map

$ cat ~/map/pi-coding-agent-action.md

pi-coding-agent-action

GitHub Action that runs the pi coding agent in CI for comment-driven reviews, audits, and PR triage.

tools✓ Oct 16

Facts

repository
github.com/shaftoe/pi-coding-agent-action ↗
GitHub Stars
★ 76
Forks
21
license
MIT
npm / mo
—
last push
Oct 15, 2026

install

uses: shaftoe/pi-coding-agent-action@v2

## TL;DR

GitHub Action that runs the pi coding agent in CI — works on GitHub, Codeberg, and self-hosted Forgejo — covering /pi comment triggers, scheduled audits, automated PR reviews, and pi-style session share links.

## Key points

## FAQ

Q How do I pin a version?

Pin the release tag, e.g. uses: shaftoe/pi-coding-agent-action@v2.27.1 — GitHub immutable releases make a tag functionally equivalent to a commit hash; the v2 branch is the stable line and develop is in constant development.

Q Why can't the agent update my workflow files?

GitHub's automatic GITHUB_TOKEN is never allowed to create or modify files under .github/workflows/, even with contents: write — if Pi must open PRs touching them, provide a Personal Access Token with the workflow scope instead.

## References

## Related entries

Last updated: Aug 31, 2026