Skip to content

fix(ci): chown .build before writing os-list.json - #3

Merged
ArnavVWadhwa merged 1 commit into
mainfrom
fix-oslist-perms
Aug 28, 2026
Merged

ArnavVWadhwa merged 1 commit into
mainfrom
fix-oslist-perms

Conversation

@ArnavVWadhwa

@ArnavVWadhwa ArnavVWadhwa commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Fixes the failed main build (.build/os-list.json: Permission denied): build-image.sh runs via sudo, so .build/ is root-owned and the publish step (runs as the runner) could not write into it. Now chowns .build back to the runner first.

To iterate without merging: added a TEMP pull_request trigger so the full image build runs on this PR, and split publishing so it only happens on push to main (if: github.event_name == 'push'). PR runs build + generate + validate os-list.json but never publish a Release, so they don't clobber latest.

@ArnavVWadhwa
ArnavVWadhwa requested a review from a team as a code owner August 28, 2026 21:07
@ArnavVWadhwa
ArnavVWadhwa merged commit 74a6351 into main Aug 28, 2026
2 checks passed
@ArnavVWadhwa
ArnavVWadhwa deleted the fix-oslist-perms branch August 28, 2026 21:18
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