Skip to content

chore(ci): split demo.yml into build + deploy jobs#127

Merged
mscolnick merged 1 commit into
mainfrom
myles/demo-split-jobs
May 12, 2026
Merged

chore(ci): split demo.yml into build + deploy jobs#127
mscolnick merged 1 commit into
mainfrom
myles/demo-split-jobs

Conversation

@mscolnick
Copy link
Copy Markdown
Contributor

Splits the single build-and-deploy job into the canonical GitHub Pages 2-job pattern: build (no id-token) → deploy (only id-token: write, runs deploy-pages only).

Resolves the supply-chain audit's OIDC-fused finding on this workflow.

Copilot AI review requested due to automatic review settings May 12, 2026 17:19
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the GitHub Pages demo workflow to follow the standard two-job pattern (build → deploy), with OIDC (id-token) permission scoped only to the deploy job to address the supply-chain audit finding.

Changes:

  • Removed workflow-level pages: write and id-token: write permissions.
  • Added a dedicated deploy job that depends on build and runs actions/deploy-pages with pages: write and id-token: write.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mscolnick mscolnick merged commit e24f371 into main May 12, 2026
8 checks passed
@mscolnick mscolnick deleted the myles/demo-split-jobs branch May 12, 2026 17:25
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