Skip to content

ci: request tech-writers and appex review on OpenAPI sync PRs - #2803

Merged
gaprl merged 1 commit into
mainfrom
tag-appex-team-openapi-workflow
Aug 22, 2026
Merged

ci: request tech-writers and appex review on OpenAPI sync PRs#2803
gaprl merged 1 commit into
mainfrom
tag-appex-team-openapi-workflow

Conversation

@gaprl

@gaprl gaprl commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

The scheduled OpenAPI spec sync was opening PRs with nobody requested for review — there was no reviewers or team-reviewers config in the workflow at all. This requests tech-writers and appex. (There is no docs team in the org; tech-writers is the equivalent.)

Requesting team reviewers needs a token with organization members: read, which the default GITHUB_TOKEN cannot have — the workflow permissions: block has no org-level key at all. So this also switches the PR step to the semgrep-docs-release App and drops the DOCS_BOT_TOKEN fallback, which was never created as a secret, so that expression was silently resolving to GITHUB_TOKEN. IT has since granted the App members: read (confirmed via gh api apps/semgrep-docs-release). Bonus: App-authored PRs trigger Docs CI, so the close/reopen workaround noted in the old comment goes away.

Note for whoever merges: tech-writers has only read+triage on this repo, so it can approve these PRs but not merge them.

The scheduled spec sync had no reviewer config at all, so its PRs opened
with an empty review request list.

Requesting team reviewers needs org-level member read, which the default
GITHUB_TOKEN lacks, so this also switches the PR step to the
semgrep-docs-release App already used by update-help-command.yml and drops
the DOCS_BOT_TOKEN fallback, which was never created as a secret.
@gaprl
gaprl marked this pull request as draft August 21, 2026 19:12
@gaprl
gaprl marked this pull request as ready for review August 21, 2026 20:00
@gaprl
gaprl requested a review from abhijna August 21, 2026 20:01
@gaprl
gaprl enabled auto-merge (squash) August 21, 2026 20:01

@abhijna abhijna left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@gaprl I see that I can now approve but not merge the automatically generated API docs update. Who would be incharge of merging and how are they notified?

@gaprl
gaprl merged commit a900180 into main Aug 22, 2026
4 checks passed
@gaprl
gaprl deleted the tag-appex-team-openapi-workflow branch August 22, 2026 00:02
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