Skip to content

fix(ci): repin the docs dispatch action and stop the recurring bump - #1098

Merged
abrichr merged 1 commit into
mainfrom
fix/notify-docs-dispatch-pin
Aug 19, 2026
Merged

fix(ci): repin the docs dispatch action and stop the recurring bump#1098
abrichr merged 1 commit into
mainfrom
fix/notify-docs-dispatch-pin

Conversation

@abrichr

@abrichr abrichr commented Aug 19, 2026

Copy link
Copy Markdown
Member

Problem

Notify docs fails on main:

##[error]Request body length does not match content-length header

peter-evans/repository-dispatch v4.0.1 sends a mismatched Content-Length for this payload on GitHub-hosted runners, so the dispatch that tells openadapt-ops to re-sync documentation never arrives.

Root cause, and why it appeared now

Not new breakage from the merge that surfaced it. #1053 already pinned this action back to v3 on 2026-07-25 for exactly this reason, and left a comment saying so. Dependabot PR #1079 bumped it to v4 again on 2026-08-12 and the comment did not stop it.

The job has been latently broken since that bump. It only runs on a push touching README.md or CHANGELOG.md, and the first such push afterwards was #1096, so that merge is where it first showed. The last green run was 2026-08-11, immediately before the bump.

Fix

  • pin the action to the v3.0.0 commit ff45666 instead of the floating v4 major tag, so a moved tag cannot change behavior
  • ignore 4.x for this action in .github/dependabot.yml, so the bump cannot silently reintroduce the regression a third time
  • address the dispatch to OpenAdaptAI/openadapt-ops directly instead of relying on the rename redirect from openadapt-maintenance

Remove the ignore rule once upstream ships a fixed v4.

Validation

  • actionlint .github/workflows/notify-docs.yml — passed
  • both files parse as YAML
  • the dispatch target is confirmed: OpenAdaptAI/openadapt-maintenance resolves to OpenAdaptAI/openadapt-ops, whose sync.yml listens on repository_dispatch type repo-updated

🤖 Generated with Claude Code

The Notify docs job fails on main with "Request body length does not
match content-length header". peter-evans/repository-dispatch v4.0.1
sends a mismatched Content-Length for this payload on GitHub-hosted
runners, so the docs sync dispatch never reaches openadapt-ops.

This is not new breakage from the merge that surfaced it. #1053 already
pinned the action back to v3 for exactly this reason on 2026-07-25.
Dependabot PR #1079 bumped it to v4 again on 2026-08-12, and the job has
been latently broken since; the failure only appears on a push that
touches README.md or CHANGELOG.md, and the first such push after the
bump was #1096.

- pin the action to the v3.0.0 commit instead of a floating major tag
- ignore 4.x for this action in dependabot.yml so the bump cannot silently
  reintroduce the regression a third time
- address the dispatch to OpenAdaptAI/openadapt-ops directly rather than
  relying on the rename redirect from openadapt-maintenance

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@abrichr
abrichr merged commit 9da67d7 into main Aug 19, 2026
11 checks passed
@abrichr
abrichr deleted the fix/notify-docs-dispatch-pin branch August 19, 2026 22:11
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