Skip to content

fix: deploy.yml permissions, template self-skip, and current app.yaml options - #2

Merged
Alexanderamiri merged 2 commits into
mainfrom
fix/deploy-permissions
Oct 24, 2026
Merged

Alexanderamiri merged 2 commits into
mainfrom
fix/deploy-permissions

Conversation

@Alexanderamiri

@Alexanderamiri Alexanderamiri commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

What

  • deploy.yml: permissions: block (id-token: write, contents: write, pull-requests: write), no secrets: inherit, triggers push to main / pull_request / workflow_dispatch. The javabin job has if: github.repository != 'javaBin/app-template', so the template repo never deploys. Repos created from it have a different name, so the job runs there.
  • app.yaml: team: myteam. The old my-team broke expand in the template's own run (team names are lowercase letters only). Commented examples now cover compute.user / readonly_root_filesystem, RDS, the secrets flow, and auth client: confidential|public|none, groups, env aliases and localhost callbacks. Also notes that validation is strict and budgets are set per team.
  • README / CLAUDE.md onboarding: registry team, repo in the app.yaml team's GitHub team, SSO permission set javabin-team-<team>, secrets via brew install javaBin/tap/javabin, javabin aws setup and javabin secret set.

Verification

  • generate-modules.py (platform main) passes on the shipped app.yaml, and on a copy with every example uncommented.
  • actionlint is clean.

🤖 Generated with Claude Code

Alexanderamiri and others added 2 commits October 23, 2026 10:50
Without a permissions block the platform's expand step cannot push
generated Terraform, and OIDC is unavailable where org defaults are
read-only. Document onboarding (repo in the app.yaml team), drop the
unsupported budget_alert_nok and auth: both, and drop secrets: inherit.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…tform

The template's own Deploy run failed in expand: team `my-team` is invalid
(lowercase letters only). Use `myteam`, and skip the javabin job when the
repository is javaBin/app-template so the template never deploys while
repos created from it do.

Document current app.yaml options (auth client/groups/env/localhost
callbacks, compute user/readonly_root_filesystem, strict validation,
per-team budgets) and the secrets flow via `javabin aws setup` and
`javabin secret set`.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@Alexanderamiri Alexanderamiri changed the title fix: grant deploy.yml the permissions the platform pipeline needs fix: deploy.yml permissions, template self-skip, and current app.yaml options Oct 24, 2026
@Alexanderamiri
Alexanderamiri merged commit 90fb986 into main Oct 24, 2026
1 check passed
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