Skip to content

ci: restrict GITHUB_TOKEN permissions in api-extractor workflow - #1046

Closed
Tomasz Naumowicz (tnaum-ms) with Copilot wants to merge 1 commit into
fix/workflow-token-permissionsfrom
copilot/ci-restrict-github-token-permissions
Closed

Tomasz Naumowicz (tnaum-ms) with Copilot wants to merge 1 commit into
fix/workflow-token-permissionsfrom
copilot/ci-restrict-github-token-permissions

Conversation

Copilot AI commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Adds an explicit workflow-level permissions block to .github/workflows/api-extractor.yaml, limiting the GITHUB_TOKEN to contents: read for repository checkout. This change is limited to the API extractor workflow.

@tnaum-ms

Copy link
Copy Markdown
Collaborator

Closing without merging: this work has moved to #1048. This PR targeted the old fix/workflow-token-permissions branch and contains no changed files. The replacement starts directly from current main, targets main, and includes only the API Extractor contents: read permission fix. Local build and YAML behavior/scope assertions passed; the replacement remains a draft for CI and review.

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