Skip to content

Add Copilot setup steps configuration - #7

Merged
CertifiedWebMaster merged 4 commits into
mainfrom
copilot/setup-copilot-instructions
Jan 13, 2026
Merged

CertifiedWebMaster merged 4 commits into
mainfrom
copilot/setup-copilot-instructions

Conversation

Copilot AI commented Jan 13, 2026 •

Copy link
Copy Markdown

Summary

Adds .github/copilot-setup-steps.yaml to define automated environment setup for GitHub Copilot coding agent.

Why

Completes Copilot infrastructure per best practices. Repository already has comprehensive instructions (.github/copilot-instructions.md) but lacked automated setup steps.

What changed

  • Added .github/copilot-setup-steps.yaml with three steps:
    • Install Go dependencies via go mod download
    • Install golangci-lint v2.5.0 (matches script/lint version)
    • Verify installation with error handling

MCP impact

  • No tool or API changes

Prompts tested (tool changes only)

N/A

Security / limits

  • No security or limits impact

Lint & tests

  • Linted locally with ./script/lint
  • Tested locally with ./script/test

Docs

  • Not needed

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • gh.io
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>✨ Set up Copilot instructions</issue_title>
<issue_description>Configure instructions for this repository as documented in Best practices for Copilot coding agent in your repository.

</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 3 commits January 13, 2026 10:29
Co-authored-by: CertifiedWebMaster <16684345+CertifiedWebMaster@users.noreply.github.com>
Co-authored-by: CertifiedWebMaster <16684345+CertifiedWebMaster@users.noreply.github.com>
Co-authored-by: CertifiedWebMaster <16684345+CertifiedWebMaster@users.noreply.github.com>
Copilot AI changed the title [WIP] Set up instructions for Copilot in repository Add Copilot setup steps configuration Jan 13, 2026
@CertifiedWebMaster
CertifiedWebMaster marked this pull request as ready for review January 13, 2026 10:49
Copilot AI review requested due to automatic review settings January 13, 2026 10:49

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 adds a Copilot setup steps configuration file to automate environment setup for GitHub Copilot coding agent. The configuration complements existing Copilot instructions by defining executable setup steps for Go dependencies and tooling.

Changes:

  • Added .github/copilot-setup-steps.yaml with three automated setup steps: Go module dependency installation, golangci-lint v2.5.0 installation, and setup verification

GOLANGCI_LINT_VERSION=v2.5.0

if [ ! -f "$BINARY" ]; then
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s $GOLANGCI_LINT_VERSION

Copilot AI Jan 13, 2026

Copy link

Choose a reason for hiding this comment

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

The variable $GOLANGCI_LINT_VERSION should be quoted to prevent potential word splitting or globbing issues. The corresponding code in script/lint line 11 uses quotes: sh -s "$GOLANGCI_LINT_VERSION". This ensures consistent behavior even if the variable contains spaces or special characters.

Suggested change
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s $GOLANGCI_LINT_VERSION
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s "$GOLANGCI_LINT_VERSION"

Copilot uses AI. Check for mistakes.
@CertifiedWebMaster
CertifiedWebMaster merged commit 664d7fa into main Jan 13, 2026
17 of 22 checks passed
@CertifiedWebMaster
CertifiedWebMaster deleted the copilot/setup-copilot-instructions branch January 13, 2026 10:57
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.

✨ Set up Copilot instructions

3 participants