.github/workflow-templates
Adam Moussa 1562cbda8e
ci: scope the three reusable CI workflows to contents:read
ci-python-sam, ci-typescript-cdk and ci-dotnet declared no permissions
at any level, unlike every other workflow here. A reusable workflow that
declares nothing inherits the CALLER's token scopes, and these are
called from deploy repos, so a lint/test/synth job could run holding an
OIDC-mintable token it has no use for. None of the three references
GITHUB_TOKEN, github.token, gh, or any secret, so contents:read is all
they need to check out and build.

Also pass node-version explicitly in the cdk-deploy and ci-node
templates. cicd.md requires callers to pin it so lockfileVersion 3 from
local Node 24 / npm 11 cannot drift from the runner, but no template
did. Only these two targets accept the input; sam-deploy, dotnet-eb,
dependency-review and labeler do not, so they are left alone.

Verified against all 22 callers across the org that none grants
permissions omitting contents:read, so no repo's CI breaks on the
caller-cannot-be-exceeded rule.
2026-07-28 12:13:07 -04:00
..
cdk-deploy.properties.json INFRA-58 INFRA-59: org starter workflows + issue templates (#43) 2026-06-05 17:26:16 -04:00
cdk-deploy.yml ci: scope the three reusable CI workflows to contents:read 2026-07-28 12:13:07 -04:00
ci-node.properties.json INFRA-58 INFRA-59: org starter workflows + issue templates (#43) 2026-06-05 17:26:16 -04:00
ci-node.yml ci: scope the three reusable CI workflows to contents:read 2026-07-28 12:13:07 -04:00
ci-python.properties.json INFRA-58 INFRA-59: org starter workflows + issue templates (#43) 2026-06-05 17:26:16 -04:00
ci-python.yml ci: pin workflow-template refs to commit SHA 2026-07-27 15:38:18 -04:00
dependency-review.properties.json INFRA-58 INFRA-59: org starter workflows + issue templates (#43) 2026-06-05 17:26:16 -04:00
dependency-review.yml ci: pin workflow-template refs to commit SHA 2026-07-27 15:38:18 -04:00
dotnet-eb-deploy.properties.json ci(cd-dotnet-eb): add reusable CD workflow for .NET on Elastic Beanstalk 2026-07-27 17:25:23 -04:00
dotnet-eb-deploy.yml ci(cd-dotnet-eb): add reusable CD workflow for .NET on Elastic Beanstalk 2026-07-27 17:25:23 -04:00
labeler.properties.json docs: refresh .github README and workflow-templates (INFRA-142) (#73) 2026-07-08 16:21:37 -04:00
labeler.yml ci: pin workflow-template refs to commit SHA 2026-07-27 15:38:18 -04:00
sam-deploy.properties.json INFRA-58 INFRA-59: org starter workflows + issue templates (#43) 2026-06-05 17:26:16 -04:00
sam-deploy.yml ci(templates): replace hardcoded management-account role ARN with placeholder 2026-07-27 16:03:25 -04:00
triage.properties.json INFRA-58 INFRA-59: org starter workflows + issue templates (#43) 2026-06-05 17:26:16 -04:00
triage.yml INFRA-58 INFRA-59: org starter workflows + issue templates (#43) 2026-06-05 17:26:16 -04:00