Repository navigation
feat: add copilot-setup-steps.yml for Copilot cloud agent - #191
Conversation
Add a concurrency block so at most one dev-lead dispatch run executes in this repo at a time; ci-relay retains its ephemeral per-SHA slot. Matches the org-wide policy from .github-private and the updated stub template. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Bootstraps the Copilot cloud agent environment before each session. The Go backend and React Native/Expo frontend are in early development; stack-specific install steps are included as commented stubs — uncomment and adjust paths as source code is added. Stack: Go (backend, TBD path) + Node.js/npm (React Native/Expo, TBD path) 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 Review limit reached
Your plan currently allows 1 review/hour. Refill in 2 minutes and 1 second. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more review capacity refills, 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 trial, open-source, and free plans. In all cases, review capacity refills continuously over time. 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>
Align markets implementation stub with org setup standard hardening by using --ignore-scripts in the commented npm install example. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds a repository-local “Copilot Setup Steps” workflow so GitHub Copilot cloud agent sessions can start from a deterministic, pre-verified environment (including failing fast if AGENTS.md is missing).
Changes:
- Introduces
.github/workflows/copilot-setup-steps.ymlwith the requiredcopilot-setup-stepsjob name, minimal permissions, and a checkout + verification step. - Includes commented “Go” and “Node.js / Expo” setup stubs for future enablement.
💡 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
Go (backend) + React Native/Expo (mobile frontend) — source code is in early development; the Go and Node.js install steps are included as commented stubs. Uncomment and adjust paths as code is added to the repo.
Standard
petry-projects/.github/standards/workflows/copilot-setup-steps.yml