mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2025-04-20 16:59:42 +08:00
Use ref checkout properly
This commit is contained in:
parent
1666a49083
commit
bd434eed48
4
.github/workflows/git-auto-commit.yml
vendored
4
.github/workflows/git-auto-commit.yml
vendored
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user