From e2687ed26e2fab2da2e0cf55360c75943105b3f1 Mon Sep 17 00:00:00 2001 From: Kerim Satirli Date: Fri, 14 Jun 2024 14:52:05 +0200 Subject: [PATCH] linting --- .github/workflows/terraform.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index aad25f7..139d531 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -9,6 +9,10 @@ jobs: name: Terraform runs-on: ubuntu-latest + env: + # token for `a-demo-user` with access to `a-demo-organization` + GITHUB_TOKEN: "${{ secrets.ORG_GITHUB_TOKEN }}" + strategy: # see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast fail-fast: false @@ -62,10 +66,8 @@ jobs: run: terraform -chdir="${{ matrix.examples }}" apply -auto-approve env: working-dir: "${{ matrix.examples }}" - GITHUB_TOKEN: ${{ secrets.ORG_GITHUB_TOKEN }} - name: Destructively Apply Terraform code for Examples run: terraform -chdir="${{ matrix.examples }}" destroy -auto-approve env: working-dir: "${{ matrix.examples }}" - GITHUB_TOKEN: ${{ secrets.ORG_GITHUB_TOKEN }}