Skip to content

Simplify setup code for user repositories#20

Merged
Phlogistique merged 4 commits into
mainfrom
claude/simplify-setup-code-bGYTk
Dec 26, 2025
Merged

Simplify setup code for user repositories#20
Phlogistique merged 4 commits into
mainfrom
claude/simplify-setup-code-bGYTk

Conversation

@Phlogistique
Copy link
Copy Markdown
Collaborator

  • Action now handles checkout with fetch-depth: 0 internally
  • Auto-detects mode (squash-merge vs conflict-resolved) from event context
  • Removes need for users to specify mode or pr-branch inputs
  • Simplifies workflow to just trigger + single action call
  • E2e tests now copy workflow from repo and sed the action reference
  • E2e tests verify repo is clean and commit exists on origin before running

- Action now handles checkout with fetch-depth: 0 internally
- Auto-detects mode (squash-merge vs conflict-resolved) from event context
- Removes need for users to specify mode or pr-branch inputs
- Simplifies workflow to just trigger + single action call
- E2e tests now copy workflow from repo and sed the action reference
- E2e tests verify repo is clean and commit exists on origin before running
@Phlogistique Phlogistique merged commit 0c074c5 into main Dec 26, 2025
2 of 3 checks passed
@github-actions github-actions Bot deleted the claude/simplify-setup-code-bGYTk branch December 26, 2025 19:55
Phlogistique added a commit that referenced this pull request Jun 1, 2026
…helpers

- follow_conflict_comment now rewrites only the conflicted region to a
  sentinel line, keeping changes the merge brought in cleanly. The previous
  whole-file `git checkout --ours` dropped any clean incoming change, so the
  test only matched a human resolution by accident of the fixtures.
- The workflow-run waiters match the run-name prefix through " - ", so
  "PR #2" no longer prefix-matches "PR #20"; the head-branch tiebreaker is
  gone.
- edit_and_commit / create_pr replace the stack-setup boilerplate repeated
  across every scenario.
- Add the missing Scenario 3 entry to the top-of-file index.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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