diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8f519a6..9572b5a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -43,8 +43,11 @@ jobs: git-push: 'false' # Push Terraform-docs changes - - uses: stefanzweifel/git-auto-commit-action@v5 - if: github.repository_owner == 'runatlantis' # skip for forks + - uses: planetscale/ghcommit-action@v0.1.35 with: commit_message: "terraform-docs: automated action" + repo: ${{ github.repository }} + branch: ${{ github.head_ref || github.ref_name }} file_pattern: 'README.md' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}