Skip to content

archify workflow hand-off at the pushed branch - #191

Merged
grunion-ai merged 1 commit into
mainfrom
archify-workflow-branch-handoff
Sep 29, 2026
Merged

grunion-ai merged 1 commit into
mainfrom
archify-workflow-branch-handoff

Conversation

@grunion-ai

@grunion-ai grunion-ai commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

The archify workflow now ends at the pushed branch. Kyle chose this over enabling "Allow GitHub Actions to create and approve pull requests" in the repository settings.

Cause

The scheduled run on 2026-09-28 (run 36435151786) vendored archify v3.0.0, pushed archify/v3.0.0 and failed at gh pr create with "GitHub Actions is not permitted to create or approve pull requests". That release landed by hand in #178. The next scheduled run would have failed the same way on v3.0.1.

Changes

  • .github/workflows/archify.yml drops gh pr create. After the push it writes a notice on the run that links the compare page for the branch, and the job exits 0.
  • A later run that finds archify/<tag> on the remote and the lock still behind repeats the notice. Before, it printed one log line.
  • The workflow no longer asks for pull-requests: write or sets GH_TOKEN. Nothing in the run calls gh.
  • docs/archify.md says to open the PR by hand. A PR opened by a person starts the test workflow, so the close and reopen step is gone.
  • test/archify.test.mjs gains one test that holds the workflow and the doc to this shape.

Verification

Gate Result
New test, before the workflow change Fails on gh pr create
node --test test/archify.test.mjs, after 7 of 7 pass
Workflow YAML Parses, 4 steps, permissions contents: write only
Run block with git stubbed, branch present Prints the notice, exit 0
Run block with git stubbed, branch absent Prints the notice after the push, exit 0
test workflow on this PR, head 3e7f067 Pass, run 36513859568

Post-merge check

Squash-merged as d02ed08 on 2026-09-28. The test workflow on main passed at that commit with 696 of 696 tests, run 36514232922.

A manual run of the archify workflow on main (run 36514275158) finished green. It vendored v3.0.1, pushed archify/v3.0.1 and left this notice: "Pushed branch archify/v3.0.1; the archify gate passed in this run. Open the PR by hand", followed by the compare link. That branch has no PR yet.

Branch archify/v3.0.0 was deleted from the remote after a check that main holds the same vendored tree.

🤖 Generated with Claude Code

GitHub Actions may not open pull requests in this repository, so the
scheduled run on 2026-09-28 pushed archify/v3.0.0 and then failed at
gh pr create. The workflow now pushes the branch, leaves a notice that
links the compare page and exits 0. A later run that finds the branch
unmerged repeats the notice. The pull-requests permission and GH_TOKEN
are gone because nothing in the run calls gh.

test/archify.test.mjs holds the workflow to that shape, and
docs/archify.md tells the reader to open the PR by hand.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@grunion-ai
grunion-ai merged commit d02ed08 into main Sep 29, 2026
1 check passed
@grunion-ai
grunion-ai deleted the archify-workflow-branch-handoff branch September 29, 2026 02:54
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.

1 participant