Skip to content

ci(branch-policy): regulate dev/* and extract scope scripts#44

Merged
Typas merged 1 commit into
masterfrom
ci/branch-policy-tighten-dev
May 10, 2026
Merged

ci(branch-policy): regulate dev/* and extract scope scripts#44
Typas merged 1 commit into
masterfrom
ci/branch-policy-tighten-dev

Conversation

@Typas

@Typas Typas commented May 10, 2026

Copy link
Copy Markdown
Owner

Move policy logic out of the workflow YAML into
.github/scripts/branch-policy/{check-scope,wait-required-workflow}.sh so the bash is directly editable and shellcheckable.

Tighten dev/<name> rules: <name> must match a public recipe (or alias) declared in justfile, and dev/* PRs cannot touch bootstrap-scope paths (init.sh, scripts/shell-init.sh, justfile, os-init/**, mac/linux-container action paths).

Expand bootstrap/shared allowlist to include justfile, since shared bootstrap orchestration lives there (e.g., _common-setup).

AGENTS.md: drop short/long-lived distinction — every branch is deleted by a human after PR merge.

Move policy logic out of the workflow YAML into
`.github/scripts/branch-policy/{check-scope,wait-required-workflow}.sh`
so the bash is directly editable and shellcheckable.

Tighten `dev/<name>` rules: `<name>` must match a public recipe
(or alias) declared in `justfile`, and `dev/*` PRs cannot touch
bootstrap-scope paths (`init.sh`, `scripts/shell-init.sh`,
`justfile`, `os-init/**`, mac/linux-container action paths).

Expand `bootstrap/shared` allowlist to include `justfile`, since
shared bootstrap orchestration lives there (e.g., `_common-setup`).

AGENTS.md: drop short/long-lived distinction — every branch is
deleted by a human after PR merge.
@Typas Typas merged commit 2687502 into master May 10, 2026
8 checks passed
@Typas Typas deleted the ci/branch-policy-tighten-dev branch May 10, 2026 14:49
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