Use ref checkout properly

This commit is contained in:
Stefan Zweifel 2025-02-05 17:34:26 +01:00
parent 1666a49083
commit bd434eed48
No known key found for this signature in database

View File

@ -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'