Skip to content

feat: add copilot-setup-steps.yml for Copilot cloud agent - #191

Merged
don-petry merged 12 commits into
mainfrom
feat/add-copilot-setup-steps
May 23, 2026
Merged

don-petry merged 12 commits into
mainfrom
feat/add-copilot-setup-steps

Conversation

@don-petry

Copy link
Copy Markdown
Contributor

Summary

Adds .github/workflows/copilot-setup-steps.yml to 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.md is 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

don-petry and others added 2 commits May 18, 2026 11:57
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>
@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@coderabbitai

coderabbitai Bot commented May 21, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

@don-petry, we couldn't start this review because you've used your available PR reviews for now.

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 4cc8f8f3-b052-49d6-b09a-8724ee14ed41

📥 Commits

Reviewing files that changed from the base of the PR and between d00e81c and c2c1ef0.

📒 Files selected for processing (1)
  • .github/workflows/copilot-setup-steps.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/add-copilot-setup-steps

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

don-petry and others added 2 commits May 20, 2026 22:02
…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>
@don-petry
don-petry marked this pull request as ready for review May 21, 2026 12:18
@don-petry
don-petry requested a review from a team as a code owner May 21, 2026 12:18
Copilot AI review requested due to automatic review settings May 21, 2026 12:18

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

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.yml with the required copilot-setup-steps job 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.

@sonarqubecloud

Copy link
Copy Markdown

@don-petry
don-petry merged commit dfd6f96 into main May 23, 2026
20 of 21 checks passed
@don-petry
don-petry deleted the feat/add-copilot-setup-steps branch May 23, 2026 02:39
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.

2 participants