mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-30 14:56:11 +00:00
actions/checkout now refuses to fetch PR head/merge code under pull_request_target without an explicit opt-in, which broke the fork image build and the fork mirror job for every fork PR. Set allow-unsafe-pr-checkout on the fork source checkouts (new allow_unsafe_checkout input on images-build-ci.yml and images-mirror-missing.yml, passed true by the fork producer jobs) so the producer builds again — untrusted forks from the safe base merge ref, trusted forks (trusted-pr label) from the PR head. Harden the untrusted path: the fork build no longer inherits organization secrets (it authenticates to GHCR with the per-job github.token only, and the build needs no other secret), and Docker Hub mirror credentials are passed only for trusted PRs (untrusted forks mirror anonymously). Switch the GHCR logins to github.token so auth no longer depends on secrets inheritance. Docs updated in pipeline.md and authentication.md. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Git artefacts 🗂️
This directory contains contributor rules for Git-managed artefacts and CI/CD pipeline conventions. Its scope is how branches, commits, pull requests, the CI/CD pipeline, and the maintainer's fork-based remote layout MUST be structured and used in this repository.