Skip to content

Grant contents: read to the Pages deploy job#5

Merged
lowlydba merged 2 commits into
mainfrom
lowlydba-fix-rules-json-404
Jul 19, 2026
Merged

Grant contents: read to the Pages deploy job#5
lowlydba merged 2 commits into
mainfrom
lowlydba-fix-rules-json-404

Conversation

@lowlydba

Copy link
Copy Markdown
Owner

The first root deploy (run 29697626837) failed at checkout with "repository not found": the deploy job declared only pages: write + id-token: write, and with no workflow-level grants the token had no contents: read, so checkout couldn't see the repo.

One-line fix: add contents: read to the job's permissions. zizmor pedantic still reports zero findings.

Merging this triggers the deploy (workflow path is in the trigger filter); web/data/* from #4 is already on main, so the site should come up at the root with data.

lowlydba and others added 2 commits July 19, 2026 13:52
The job only declared pages/id-token, so checkout got 'repository not
found' and the first root deploy failed.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@lowlydba
lowlydba enabled auto-merge July 19, 2026 17:54
@lowlydba
lowlydba disabled auto-merge July 19, 2026 17:56
@lowlydba
lowlydba merged commit 3887610 into main Jul 19, 2026
3 checks passed
@lowlydba
lowlydba deleted the lowlydba-fix-rules-json-404 branch July 19, 2026 17:56
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.

1 participant