mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
push_ci_policy.sh now hard-fails on missing GH_TOKEN/GITHUB_REPOSITORY and, for non-main branches, calls gh pr list to detect whether the push is already covered by an open pull request. If so, emits should_run=false (skip_reason=pr-ci-covers-this-push) so the push workflow exits cleanly and the pull_request workflow handles the actual CI run. To absorb the bot's push -> gh-pr-create latency on update/* and alert-autofix-* branches, the PR check retries up to 10x with 2s sleeps before falling through to a real CI run. Human branches (feature/**, hotfix/**, fix/**, chore/**) check once with no delay. entry-push-latest.yml's run-policy step now forwards GH_TOKEN so the gh call works against the repo. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Resolve Scripts
This directory contains scripts that resolve metadata and derived values used by the project.
- 🧩 Derive runtime values from repository and workflow context
- 🔍 Resolve identifiers, references, and computed inputs
- 🗂️ Keep lookup and resolution logic grouped in one place
Examples in this folder and its subfolders:
repository/name.shresolves the concrete repository name once for callersrepository/owner.shresolves the concrete repository owner once for callersdistros.shholds the canonical distro list used by workflows- See pr/README.md for the Pull Request-specific resolvers.
The scope of this folder is value resolution. Build, release, and wait-oriented behavior should stay in their dedicated script directories.