Repository navigation
Run docs review and issue scope automatically - #9281
Open
theletterf wants to merge 4 commits into
Open
theletterf wants to merge 4 commits into
theletterf wants to merge 4 commits into
Conversation
Run the docs review when a non-draft pull request from this repository opens, reopens, or leaves draft, and scope every new issue. The AI PR menu and the /scope slash command stay for manual runs. /docs-review is a new slash command. Both slash commands are limited to owners, members, and collaborators. Related to elastic/docs-eng-team#757 Related to elastic/docs-eng-team#759 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
Elastic Docs AI PR menuCheck the box to run an AI review for this pull request.
Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team. |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
Author
|
This is blocked and pending on docs managers' decision. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docs review and issue scope ran only from the AI menu or a slash command. We want both to run on their own for new work.
This PR adds two triggers:
docs-review.ymlruns the docs review when a non-draft pull request from this repository opens, reopens, or leaves draft. Fork pull requests are skipped, because apull_requestrun from a fork gets no token. Converting a pull request to draft cancels a review in progress through caller-level concurrency.docs-scope.ymlnow also runs onissues: opened, so every new issue gets scoped.The AI PR menu stays for manual reviews.
/scopestays, and/docs-reviewis new. Both slash commands are limited to owners, members, and collaborators.Do not merge yet. The callers pin
@v1, and the reusable workflows needroles: allso that bot authors and outside issue authors are not skipped. That change is in elastic/docs-actions#449. Merge this PR after a release movesv1.I tested the same callers in elastic/docs-actions-sandbox: a draft PR is skipped, a non-draft PR gets a review, converting to draft cancels a running review, and a new issue gets scoped.
Related to elastic/docs-eng-team#757
Related to elastic/docs-eng-team#759
🤖 Generated with Claude Code