Skip to content

Fix pr-docs-check workflow: Scope PR token to upstream and automation fork - #69665

Merged
DeagleGross merged 1 commit into
dotnet:mainfrom
DeagleGross:deaglegross-docs-workflow-fork
Oct 5, 2026
Merged

DeagleGross merged 1 commit into
dotnet:mainfrom
DeagleGross:deaglegross-docs-workflow-fork

Conversation

@DeagleGross

@DeagleGross DeagleGross commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

@DeagleGross DeagleGross self-assigned this Oct 5, 2026
Copilot AI balanced review requested due to automatic review settings October 5, 2026 11:22
@DeagleGross
DeagleGross requested review from a team and wtgodbe as code owners October 5, 2026 11:22
@DeagleGross DeagleGross added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Oct 5, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at.

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.

Copilot review overview

🟢 Approval recommended

The focused configuration change directly addresses the observed fork-collaboration failure and includes appropriate regression coverage.

Review effort: Balanced
Findings: None

What changed in this PR

Scopes the safe-output GitHub App token to both documentation repositories, addressing fork-backed PR creation failures.

Changes:

  • Grants token access to upstream and automation repositories.
  • Regenerates the compiled workflow.
  • Adds regression coverage for both token scopes.
File Description
.github/​workflows/​pr-docs-check.md Expands repository scope.
.github/​workflows/​pr-docs-check.lock.yml Updates generated workflow.
.github/​workflows/​pr-docs-check/​test_authentication.py Verifies source and compiled token scopes.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@DeagleGross
DeagleGross merged commit 8dc371c into dotnet:main Oct 5, 2026
20 checks passed
@DeagleGross
DeagleGross deleted the deaglegross-docs-workflow-fork branch October 5, 2026 11:50
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants