Skip to content

ci(docs): harden docs update auto-merge#173

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

ci(docs): harden docs update auto-merge#173
jack-arturo merged 2 commits into
mainfrom
ci/docs-dispatch-automerge-guard

Conversation

@jack-arturo

Copy link
Copy Markdown
Member

Summary

  • pass base/head SHA and commit URL context into the automated docs update prompt
  • stop auto-readying draft docs/audit PRs
  • skip auto-merge for PR bodies that contain unresolved audit or maintainer-question language

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
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 12, 2026

Copy link
Copy Markdown

Deploying automem-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: d586604
Status: ✅  Deploy successful!
Preview URL: https://16e261fa.automem-website.pages.dev
Branch Preview URL: https://ci-docs-dispatch-automerge-g.automem-website.pages.dev

View logs

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR hardens the automated docs update and auto-merge workflows by providing richer source context to the docs-generation prompt and tightening the criteria for when docs/audit PRs are eligible for auto-merge.

Changes:

  • Pass base/head SHA and commit URL context into the docs update prompt.
  • Prevent auto-merge workflow from auto-readying draft docs/audit PRs by requiring non-draft PRs.
  • Add a guard that disables auto-merge when the PR body contains unresolved audit / maintainer-question language.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/docs-update.yml Enriches the Claude prompt with base/head SHA and commit URL context for automated docs updates.
.github/workflows/docs-auto-merge.yml Tightens auto-merge eligibility (non-draft only) and adds PR-body language checks to skip auto-merge when review is needed.

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

Comment thread .github/workflows/docs-auto-merge.yml Outdated
@jack-arturo jack-arturo added this pull request to the merge queue Jun 12, 2026
Merged via the queue into main with commit 86ddc40 Jun 12, 2026
4 checks passed
@jack-arturo jack-arturo deleted the ci/docs-dispatch-automerge-guard branch June 12, 2026 18:59
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