From dbeba678cb22022e84fb08e2a36286ed71fbea26 Mon Sep 17 00:00:00 2001 From: David Costa Date: Mon, 11 Nov 2024 15:55:15 +0000 Subject: [PATCH] Allow terraform-docs push --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bb406ca..c1c63f1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -46,7 +46,7 @@ jobs: - uses: planetscale/ghcommit-action@v0.2.0 # Run this step even if previous steps fails (there are changes to commit) # but skip when on forks - if: ${{ !cancelled() && github.repository_owner == 'runatlantis' }} + if: ${{ !cancelled() }} with: commit_message: "terraform-docs: automated action" repo: ${{ github.repository }} @@ -56,7 +56,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Print instructions to run terraform-docs locally if changes are needed and workflow is running on fork - - if: ${{ !cancelled() && github.repository_owner != 'runatlantis' && steps.terraform-docs.outputs.num_changed > 0 }} + - if: ${{ !cancelled() && steps.terraform-docs.outputs.num_changed > 0 }} run: | echo '### Please run terraform-docs locally and commit the changes:' >> $GITHUB_STEP_SUMMARY echo '' >> $GITHUB_STEP_SUMMARY