Skip to content

Fix Pages deploy OIDC permission regression in docs workflow#24

Merged
fswair merged 2 commits into
mainfrom
copilot/fix-github-actions-deploy-job
Jul 24, 2026
Merged

Fix Pages deploy OIDC permission regression in docs workflow#24
fswair merged 2 commits into
mainfrom
copilot/fix-github-actions-deploy-job

Conversation

Copilot AI commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

The GitHub Actions deploy job in the Pages pipeline began failing when actions/deploy-pages@v5 could not obtain an ID token. This PR aligns workflow permissions with Pages deploy requirements so the dynamic pages build and deployment run can mint OIDC credentials reliably.

  • Root-cause scope

    • The failure occurred in the Pages deploy job (Failed to get ID Token) during actions/deploy-pages@v5, indicating missing explicit OIDC permission in the triggering workflow context.
  • Workflow permission fix

    • Updated .github/workflows/docs.yml top-level permissions to include the Pages/OIDC scopes required by deploy-pages.
permissions:
  contents: write
  pages: write
  id-token: write
  • Change surface
    • Single-file, surgical workflow change; no runtime/package code or docs content behavior changes.

Copilot AI changed the title [WIP] Fix failing GitHub Actions job deploy Fix Pages deploy OIDC permission regression in docs workflow Jul 24, 2026
Copilot AI requested a review from fswair July 24, 2026 14:02
@fswair
fswair marked this pull request as ready for review July 24, 2026 14:03
@fswair
fswair merged commit 6c19510 into main Jul 24, 2026
17 checks passed
@fswair
fswair deleted the copilot/fix-github-actions-deploy-job branch July 24, 2026 14:05
@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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