From 1bacd5062868a9c56cb39723f4a1690db8f34020 Mon Sep 17 00:00:00 2001 From: dstrates <99311378+dstrates@users.noreply.github.com> Date: Sat, 14 Dec 2024 16:43:01 +1100 Subject: [PATCH] ci: fix terraform workflow (#7) --- .github/workflows/ci-terraform.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-terraform.yml b/.github/workflows/ci-terraform.yml index cc7e5fd..58d504d 100644 --- a/.github/workflows/ci-terraform.yml +++ b/.github/workflows/ci-terraform.yml @@ -7,7 +7,8 @@ on: branches: - main paths: - - "**/*.tf" + - ".github/workflows/ci-terraform.yml" + - "**.tf" - "!examples/**" concurrency: @@ -20,9 +21,6 @@ jobs: pull-requests: write runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" - defaults: - run: - working-directory: ${{ env.tf_actions_working_dir }} steps: - uses: actions/checkout@v4 - uses: hashicorp/setup-terraform@v3 @@ -67,8 +65,6 @@ jobs: - *Pusher: @${{ github.actor }}, Action: \`${{ github.event_name }}\`, Working Directory: \`${{ env.tf_actions_working_dir }}\`, Workflow: \`${{ github.workflow }}\`*`; - // 3. If we have a comment, update it, otherwise create a new one if (botComment) { github.rest.issues.updateComment({