Manage IUCLabs GitHub org settings #121

Merged
benvin merged 1 commits from benvin/github-iuclabs-org into main 2026-11-10 23:18:32 +11:00
Member

The IUCLabs GitHub org settings, Actions token defaults and Default runner group are unmanaged, so they drift from the hardened baseline. The billing email is kept out of the public repo.

  • add config.yaml org settings to modules/github_org, gated on the file existing
  • pin remaining org settings, read-only non-approving GITHUB_TOKEN, and Default runner group access
  • read billing_email from Vault via TF_VAR_billing_email in the github-only env step, as a sensitive variable
  • import existing org settings and the Default runner group
The IUCLabs GitHub org settings, Actions token defaults and Default runner group are unmanaged, so they drift from the hardened baseline. The billing email is kept out of the public repo. - add `config.yaml` org settings to `modules/github_org`, gated on the file existing - pin remaining org settings, read-only non-approving `GITHUB_TOKEN`, and Default runner group access - read `billing_email` from Vault via `TF_VAR_billing_email` in the github-only env step, as a sensitive variable - import existing org settings and the Default runner group
unkin-agent added 1 commit 2026-11-10 23:10:02 +11:00
manage IUCLabs org settings with billing email from Vault
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful
fac5dc89a6
Author
Member
  • nit: modules/github_org/variables.tf:354 — billing_email != null accepts an empty string (Vault field present but blank → TF_VAR_billing_email="" passes validation and is sent to GitHub) → also require length(var.billing_email) > 0 (or a basic @ check) and add a test run for "".
- nit: modules/github_org/variables.tf:354 — `billing_email != null` accepts an empty string (Vault field present but blank → `TF_VAR_billing_email=""` passes validation and is sent to GitHub) → also require `length(var.billing_email) > 0` (or a basic `@` check) and add a test run for `""`.
benvin merged commit a465e75725 into main 2026-11-10 23:18:32 +11:00
benvin deleted branch benvin/github-iuclabs-org 2026-11-10 23:18:33 +11:00
This repo is archived. You cannot comment on pull requests.