From 1666a490833865ae4964dfc0c155c9b450734002 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Wed, 5 Feb 2025 17:27:23 +0100 Subject: [PATCH] Use ref in auto-commit workflow --- .github/workflows/git-auto-commit.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/git-auto-commit.yml b/.github/workflows/git-auto-commit.yml index d7db234..39b3296 100644 --- a/.github/workflows/git-auto-commit.yml +++ b/.github/workflows/git-auto-commit.yml @@ -21,6 +21,8 @@ jobs: - 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'