diff --git a/.github/workflows/git-auto-commit.yml b/.github/workflows/git-auto-commit.yml index 39b3296..35132e9 100644 --- a/.github/workflows/git-auto-commit.yml +++ b/.github/workflows/git-auto-commit.yml @@ -17,12 +17,12 @@ jobs: steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} - name: Use git-auto-commit-action id: "auto-commit-action" uses: ./ - with: - ref: ${{ github.head_ref }} - name: "no changes detected" if: steps.auto-commit-action.outputs.changes_detected == 'false'