Skip to content

Re-pin release-package actions to the follow-up PR lookup fix - #469

Merged
Anton-4 merged 2 commits into
mainfrom
fix-outdated-docs
Aug 8, 2026
Merged

Re-pin release-package actions to the follow-up PR lookup fix#469
Anton-4 merged 2 commits into
mainfrom
fix-outdated-docs

Conversation

@Anton-4

@Anton-4 Anton-4 commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

create-followup-pr is called twice per release, so the second call must update the PR opened by the first. Upstream's lookup passed owner:branch to gh pr list --head, which matches headRefName literally and so never matched; the update fell through to gh pr create and failed with "A pull request already exists".

On 0.21.0 that failure sat ahead of the Pages steps in publish-docs, so Create Pages tree, Upload Pages artifact and Deploy Pages were all skipped and the docs site kept redirecting to 0.20.0.

Pins every action to af2f0cd (roc-lang/release-package#4). This also moves publish-release forward from 48ccc90, which is an ancestor of af2f0cd and still exposes the additional_assets input this workflow relies on.

Anton-4 and others added 2 commits August 8, 2026 16:26
`create-followup-pr` is called twice per release, so the second call must
update the PR opened by the first. Upstream's lookup passed `owner:branch`
to `gh pr list --head`, which matches headRefName literally and so never
matched; the update fell through to `gh pr create` and failed with "A pull
request already exists".

On 0.21.0 that failure sat ahead of the Pages steps in publish-docs, so
Create Pages tree, Upload Pages artifact and Deploy Pages were all skipped
and the docs site kept redirecting to 0.20.0.

Pins every action to af2f0cd (roc-lang/release-package#4). This also moves
publish-release forward from 48ccc90, which is an ancestor of af2f0cd and
still exposes the additional_assets input this workflow relies on.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The follow-up PR step only opens a PR for humans to merge later; nothing in
publish-docs consumes its outputs. Running it ahead of the Pages steps meant
any failure there took the docs deployment down with it, which is exactly how
0.21.0 shipped without docs.

Moving it after Deploy Pages makes the deployment structurally independent of
it, so a token problem or a branch-protection change can no longer leave the
site stale. The step sees the same working tree in either position: examples
are rewritten near the top of the job, and `git checkout -B` only moves a
branch pointer at HEAD.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Anton-4

Anton-4 commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator Author

CI needs roc-lang/roc#10685 to pass

@Anton-4
Anton-4 merged commit c351ad2 into main Aug 8, 2026
9 of 15 checks passed
@Anton-4
Anton-4 deleted the fix-outdated-docs branch August 8, 2026 14: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.

1 participant