Skip to content

chore(policy): add shared repository governance#1

Merged
benjiwagner merged 1 commit into
mainfrom
chore/shared-repository-policy
Jul 18, 2026
Merged

chore(policy): add shared repository governance#1
benjiwagner merged 1 commit into
mainfrom
chore/shared-repository-policy

Conversation

@benjiwagner

Copy link
Copy Markdown
Contributor

Summary

Adds the shared pull request template, contribution conventions, trusted repository-policy workflow, and policy self-tests for Customermates repositories.

Context

Customermates repositories need one readable and automatically enforced convention for branch names, commit subjects, pull request titles, and pull request descriptions. The workflow runs from trusted base-branch code, never checks out pull request code, and posts an explicit fail-closed status to the pull request head.

Validation

  • Ran bash -n repository-policy/validate.sh.
  • Ran bash repository-policy/validate.sh --self-test.
  • Parsed every workflow file as YAML.
  • Ran git diff --check and git fsck --full --strict.
  • Scanned the committed files for common private-key and access-token patterns.

Impact and rollback

After this pull request is squash-merged, organization repositories can inherit the default pull request template and pin the reusable policy workflow to the resulting immutable main commit. No repository protection is activated by this pull request. Roll back by reverting the squash commit before repinning or activating downstream rules.

Screenshots

Not applicable because this pull request changes repository governance and GitHub Actions only.

@benjiwagner
benjiwagner marked this pull request as ready for review July 18, 2026 16:03
@benjiwagner
benjiwagner merged commit 433b80b into main Jul 18, 2026
1 check passed
@benjiwagner
benjiwagner deleted the chore/shared-repository-policy branch July 20, 2026 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant