v1.31.0
guíaPatrón · 08_CICDenglishversión en español

CI/CD permissions and infrastructure — TEMPLATE

What YOUR organization's version has to contain (the structure of the original):

2 minlectura
372palabras
1secciones
2026-09-22última edición
1cambios

Status: this is the template for the handoff to the infrastructure team: the inventory of servers, agent pools, capabilities and internal feeds belongs to each organization. /hv:cicd-init writes an adapted copy in ops/cicd/PERMISOS_CICD.md.

What YOUR organization's version has to contain (the structure of the original):

  1. CI/CD platform collection/organization (cicd.platform + URL) and project.
  2. Agent pool(s) — name, type (build vs deploy), servers they run on.
  3. Deploy routing capabilities — a label per agent (e.g. DeployTarget=<env>-<type>), aligned with ecosystem.config.cicd.environments[].deployTarget.
  4. Service account of the agents and the permissions it needs (local deploy, IIS/systemd, backup folders).
  5. Internal package feeds — path or URL reachable FROM the agents (not just from the user network).
  6. Variable groups / secret stores — who creates them, who authorizes pipelines.
  7. Approvers per environment (environments[].approvers) and the platform's environments and gates.
  8. Retention and disk — artifact policy (invariant G10).

/hv:cicd-init derives the real values from the configured pool instead of assuming this document: the template is the list of requests to the infrastructure team, not the runtime's source of truth.

GitHub

On GitHub there is no pool to authorize: the handoff is about permissions on the repository and the organization.

WhatWho grants itWhat for
Repository adminOrg owner / current adminenvironments and reviewers, secrets and variables, repo rulesets, Actions enabled, security_and_analysis
Organization owner—org Projects v2, org rulesets, org self-hosted runners, GHAS licences (Code Security / Secret Protection), allowed-Actions policies
Scopes of the gh tokeneach developer (gh auth login / gh auth refresh -s <scope>)repo (base), workflow (dispatch workflows), project (Projects v2), read:org
Self-hosted runnerrepo admin or org owner (registration token)deploying to on-premise IIS or private networks; label it (runs-on: [self-hosted, <label>])
Federated credential (OIDC)admin of the cloud subscriptionazure/login / configure-aws-credentials without long-lived secrets (G18)
Planorganizationenvironment reviewers and restricted branches require a public repo or Team/Enterprise; CodeQL and secret scanning on private repos require GHAS

Request template: "I need the Admin role on owner/repo to set up environments (dev/pre/pro), secrets and rulesets, and to confirm whether the organization has GHAS so we can turn on CodeQL and secret scanning on private repositories."

Fuente: ovillo/_patron/08_CICD/PERMISOS_CICD_EN.md

Ovillo v1.31.0tag v1.31.0 (2026-10-06) · sin decisiones posteriores69 skills · 19 agents · 22 hooks · 3 reglas · 15 tools · 103 decisionesfuente: ovillo/_patron/08_CICD/PERMISOS_CICD_EN.mdCopyright 2026 Hugo Valer Rojas · Apache-2.0