This repository has been archived by the owner on Nov 17, 2024. It is now read-only.
chore(deps): update mesosphere/traefik-forward-auth docker tag to v3.2.0 #688
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Terraform | |
on: | |
pull_request: | |
jobs: | |
check: | |
name: Check Terraform changes | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: hashicorp/setup-terraform@v2 | |
with: | |
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }} | |
- name: Terraform Format | |
id: fmt | |
run: terraform fmt -check -recursive | |
- name: Terraform Init | |
id: init | |
run: terraform init | |
- name: Terraform Validate | |
id: validate | |
run: terraform validate -no-color | |
plan: | |
name: Plan Terraform changes | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
needs: | |
- check | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: hashicorp/setup-terraform@v2 | |
with: | |
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }} | |
- name: Terraform PR | |
uses: tchupp/[email protected] | |
with: | |
github-token: ${{ github.token }} |