Skip to content

Conversation

@jnmcfly
Copy link
Contributor

@jnmcfly jnmcfly commented Aug 4, 2025

  1. GitHub Environments erstellen (dev, staging, prod)
  2. Protection Rules konfigurieren:
    - Required reviewers für prod
    - Deployment branches: nur main
  3. Environment Secrets einrichten:
    - GCP_JSON_KEY pro Environment
    - TF_VAR_* Secrets pro Environment
  4. Caller Workflows anpassen:
    jobs:
    release:
    uses: t3n/github-actions/.github/workflows/tf-release.yaml@main
    with:
    ENVIRONMENT: production
    secrets: inherit

Die Workflows sind jetzt bereit für trunk-based deployment mit GitHub Environment Protection!

  1. GitHub Environments erstellen (dev, staging, prod)
  2. Protection Rules konfigurieren:
    - Required reviewers für prod
    - Deployment branches: nur main
  3. Environment Secrets einrichten:
    - GCP_JSON_KEY pro Environment
    - TF_VAR_* Secrets pro Environment
  4. Caller Workflows anpassen:
  jobs:
    release:
      uses: t3n/github-actions/.github/workflows/tf-release.yaml@main
      with:
        ENVIRONMENT: production
      secrets: inherit

  Die Workflows sind jetzt bereit für trunk-based deployment mit GitHub Environment Protection!
@jnmcfly jnmcfly self-assigned this Aug 4, 2025
@jnmcfly jnmcfly requested a review from das-nagnag August 4, 2025 21:31
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.

2 participants