Skip to content

Grant GitHub Pages permissions in multi-branch publish workflow - #6

Merged
pmttavara merged 23 commits into
mainfrom
copilot/update-github-pages-permissions
Sep 21, 2026
Merged

pmttavara merged 23 commits into
mainfrom
copilot/update-github-pages-permissions

Conversation

Copilot AI commented Sep 21, 2026 •

Copy link
Copy Markdown

The multi-branch publish workflow was using a token scope that was too narrow for GitHub Pages setup, causing actions/configure-pages to fail with Resource not accessible by integration. This updates the workflow to use the standard Pages deployment permission set without changing render, branch, or deployment flow.

  • Permission model

    • Replace the top-level workflow permission block with the explicit Pages scopes:
      • contents: read
      • pages: write
      • id-token: write
  • Behavior preserved

    • Leave existing branch filtering, render commands, action SHAs, push-to-gh-pages flow, and concurrency controls unchanged.
  • Workflow delta

    permissions:
      contents: read
      pages: write
      id-token: write

Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Copilot AI changed the title [WIP] Update workflow permissions for GitHub Pages deployment Grant GitHub Pages permissions in multi-branch publish workflow Sep 21, 2026
Copilot AI requested a review from shielded-nate September 21, 2026 15:58
Copilot AI and others added 17 commits September 21, 2026 16:02
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
Co-authored-by: shielded-nate <185561036+shielded-nate@users.noreply.github.com>
@pmttavara
pmttavara marked this pull request as ready for review September 21, 2026 17:01
@pmttavara
pmttavara merged commit 4e0d408 into main Sep 21, 2026
1 of 2 checks passed
@pmttavara
pmttavara deleted the copilot/update-github-pages-permissions branch September 21, 2026 17:01

This branch had an error being deployed

1 failed deployment
github-pages — 58f6effc Deployed Sep 21, 2026 by pmttavara via deploy-pages #24
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.

3 participants