Skip to content

ci(docs): dispatch docs updates on main merges - #24

Merged
jack-arturo merged 2 commits into
mainfrom
ci/docs-dispatch-main-merge
Jun 12, 2026
Merged

jack-arturo merged 2 commits into
mainfrom
ci/docs-dispatch-main-merge

Conversation

@jack-arturo

Copy link
Copy Markdown
Member

Summary

  • standardize docs-dispatch with the other AutoMem source repos
  • keep docs updates tied to main merges and add manual backfill inputs
  • preserve changed_files and affected_docs as structured JSON in repository_dispatch payloads

Breaking changes

None.

Related issues

None.

Tests

  • Ruby YAML parse for all changed workflows
  • actionlint for all changed workflows
  • fixture checks for push diff ranges, /** mapping, JSON payload shape, and auto-merge guard wording
  • git diff --check

Copilot AI review requested due to automatic review settings June 12, 2026 18:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Docs Dispatch GitHub Actions workflow to align docs auditing/dispatch behavior with other AutoMem repositories by supporting both main-merge-driven runs and manual backfills, while preserving structured JSON payloads for downstream consumers.

Changes:

  • Adds workflow_dispatch inputs (base_sha, head_sha, reason) to support manual docs backfills.
  • Computes diff ranges and emits richer outputs (base/head SHAs, changed files JSON, commit/compare URLs, reason).
  • Replaces repository-dispatch action usage with a gh api call and ensures changed_files / affected_docs are sent as structured JSON where possible.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/docs-dispatch.yml Resolved
Comment thread .github/workflows/docs-dispatch.yml Resolved
@jack-arturo
jack-arturo merged commit 8e42900 into main Jun 12, 2026
1 check passed
@jack-arturo
jack-arturo deleted the ci/docs-dispatch-main-merge branch June 12, 2026 18:55
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