Skip to content

chore: extract session setup into scripts/setup.sh and add Copilot workflow - #59

Merged
deviantintegral merged 1 commit into
mainfrom
copilot/refactor-session-start-setup
Mar 2, 2026
Merged

deviantintegral merged 1 commit into
mainfrom
copilot/refactor-session-start-setup

Conversation

Copilot AI commented Mar 2, 2026 •

Copy link
Copy Markdown
Contributor

Deduplicates environment setup by pulling the uv sync + pre-commit install steps out of the inlined Claude session hook into a shared shell script, then wiring both Claude and a new Copilot setup workflow to call it.

Changes

  • scripts/setup.sh — canonical setup script; cds to project root via $(dirname "$0")/.. so it works from any invocation context
  • .claude/settings.json — SessionStart hook now calls $CLAUDE_PROJECT_DIR/scripts/setup.sh instead of inlining commands
  • .github/workflows/copilot-setup-steps.yml — new Copilot coding agent setup workflow (per GitHub docs); installs uv via astral-sh/setup-uv then runs the same script
  • AGENTS.md — adds a Pull Requests section requiring conventional commit formatting for PR titles/descriptions, matching the first commit's message and description

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI changed the title [WIP] Refactor session start steps into a shell script chore: extract session setup into scripts/setup.sh and add Copilot workflow Mar 2, 2026
@deviantintegral
deviantintegral marked this pull request as ready for review March 2, 2026 13:10
…flow

Co-authored-by: deviantintegral <255023+deviantintegral@users.noreply.github.com>
@deviantintegral
deviantintegral force-pushed the copilot/refactor-session-start-setup branch from 3fb346a to 6dec357 Compare March 2, 2026 13:10
@deviantintegral

Copy link
Copy Markdown
Owner

We'll let renovate fix up the actions references.

@deviantintegral
deviantintegral enabled auto-merge (squash) March 2, 2026 13:10
@deviantintegral
deviantintegral merged commit be84a6c into main Mar 2, 2026
7 checks passed
@deviantintegral
deviantintegral deleted the copilot/refactor-session-start-setup branch March 2, 2026 13:14
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