Repository navigation
feat: add copilot-setup-steps.yml for Copilot cloud agent - #173
Conversation
Bootstraps the Copilot cloud agent environment before each session. This is a documentation/scripts repo with no runtime build dependencies, so setup is minimal: checkout + verify. The verify step confirms AGENTS.md is present and fails loud if it is missing. Template source: petry-projects/.github/standards/workflows/copilot-setup-steps.yml Standard: ci-standards.md §11 Copilot Cloud Agent Setup Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…teps.yml - Fork guard: replace github.event.repository.fork (reflects base repo, always false for org repos) with github.event_name != 'pull_request' || head.repo.fork == false so external fork PRs are skipped while direct pushes and manual runs still run - Verify step: guard find .github/instructions with [ -d ] check to prevent pipefail abort when the directory is absent Addresses review comments on combsmith/.github#328 (Codex P1 and P2). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds an org-standard GitHub Actions workflow (copilot-setup-steps) intended to bootstrap/verify the Copilot Cloud Agent environment deterministically before agent sessions, including failing early if AGENTS.md is missing.
Changes:
- Introduces
.github/workflows/copilot-setup-steps.ymlwith the requiredcopilot-setup-stepsjob name and minimal permissions. - Adds a verification step that prints basic environment info and enforces presence of
AGENTS.md.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|



Summary
Adds
.github/workflows/copilot-setup-steps.ymlto bootstrap the Copilot cloud agent environment before each session.Why this matters
Without this file, Copilot discovers and installs dependencies itself via trial and error — slow, non-deterministic, and impossible for repos with private packages. This file gives the agent a deterministic, pre-verified starting point.
The verify step fails the job if
AGENTS.mdis missing — catching a misconfigured repo before the agent begins work.Stack
Documentation / scripts only — no runtime build dependencies. Setup is minimal: checkout + verify.
Standard
petry-projects/.github/standards/workflows/copilot-setup-steps.yml