Skip to content

docs(deploy): describe new PAT-based dispatch credential#55

Merged
rumblefrog merged 2 commits into
mainfrom
docs/deploy-trigger-pat
May 11, 2026
Merged

docs(deploy): describe new PAT-based dispatch credential#55
rumblefrog merged 2 commits into
mainfrom
docs/deploy-trigger-pat

Conversation

@rumblefrog

@rumblefrog rumblefrog commented May 11, 2026

Copy link
Copy Markdown
Member

Followup to #54 + sbpp/sourcebans-pp#1347 (issue sbpp/sourcebans-pp#1333 cutover).

What this PR changes

Comments only — no behavioral change to the deploy workflow.

The sibling sourcebans-pp dispatcher (docs-deploy-trigger.yml) is being switched from a GitHub App to a fine-grained PAT in sbpp/sourcebans-pp#1347. The deploy workflow in this repo doesn't change — it still listens for repository_dispatch events with event_type: docs-changed from anywhere, and whatever credential the dispatcher uses is invisible to us.

But the comment block above this workflow specifically mentions the App by name (sbpp-docs-deploy) and references the old vars.DOCS_DEPLOY_APP_ID + secrets.DOCS_DEPLOY_APP_KEY pair on the sourcebans-pp side. That would mislead anyone debugging the cutover after the sibling PR lands. This PR updates the comment to describe the PAT-based setup (secrets.DOCS_DEPLOY_PAT only — no paired feature-flag variable) and reframes it as optional — the workflow_dispatch button (manual) and weekly cron (safety net) on this repo cover the bases without any cross-repo credential at all.

Diff

Pure comment churn. python3 -c 'import yaml; yaml.safe_load(...)' still parses.

Merge order

This can land any time — independent of sbpp/sourcebans-pp#1347. The two PRs document the same cutover from different sides; merging either before the other won't break anything.

Sibling sourcebans-pp dispatcher swapped from a GitHub App to a
fine-grained PAT (`secrets.DOCS_DEPLOY_PAT` + paired
`vars.DOCS_DEPLOY_ENABLED` feature flag). The deploy workflow in
THIS repo doesn't change behaviorally — it still listens for
`repository_dispatch` from anywhere; whatever credential the
dispatcher uses is invisible to us. But the comment block above
the workflow specifically mentions the App by name, which would
mislead anyone debugging the cutover after the sibling change
lands. Update the comment to describe the PAT-based setup
instead, and frame it as optional ("for automatic deploys on docs
PR merges; `workflow_dispatch` and the weekly cron cover the
bases otherwise") since this repo's `workflow_dispatch` button
remains the no-credentials manual fallback.

No code change; comments only.
Sibling sourcebans-pp dispatcher dropped the redundant feature-flag
variable in favor of a step-level `if: secrets.DOCS_DEPLOY_PAT != ''`
guard. Mirror the comment update so the optional-cutover paragraph
in this workflow's header doesn't list a variable the operator
no longer needs to set.

Comment-only; no behavioral change.
@rumblefrog rumblefrog added this pull request to the merge queue May 11, 2026
Merged via the queue into main with commit 2472c4a May 11, 2026
@rumblefrog rumblefrog deleted the docs/deploy-trigger-pat branch May 11, 2026 05:54
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.

1 participant