[codex] Add docs PR assignment workflow#771
Merged
Merged
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
🤖 Documentation BotStatus🔗 Broken Links (Manual Fix Required)Click to view details |
- Add a `cc @author` fallback in the live workflow so docs PRs that only credit the source author via a cc line (and have no source PR link or timeline cross-reference) still get assigned, matching the backfill. - Wrap the cross-repo pulls.get in try/catch so a deleted or mis-parsed source PR number degrades to the cc fallback instead of failing the job. - Paginate the timeline lookup so cross-references past the first 100 events are still found. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
🤖 Documentation BotStatus🔗 Broken Links (Manual Fix Required)Click to view details |
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.
Summary
Adds automation to assign Mintlify docs PRs to the engineer who authored the related
lightdash/lightdashsource PR.Changes
.github/workflows/assign-docs-pr.ymlusingactions/github-script@v7.mintlify[bot].cc @authorif GitHub silently rejects the assignee.scripts/backfill-docs-pr-assignees.shwithDRY_RUN=1default behavior for one-off or future backfills.Validation
bash -n scripts/backfill-docs-pr-assignees.shruby -e 'require "yaml"; YAML.load_file(".github/workflows/assign-docs-pr.yml"); puts "workflow yaml ok"'