mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2025-04-21 01:19: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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ github.head_ref }}
|
||||||
|
|
||||||
- name: Use git-auto-commit-action
|
- name: Use git-auto-commit-action
|
||||||
id: "auto-commit-action"
|
id: "auto-commit-action"
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
|
||||||
ref: ${{ github.head_ref }}
|
|
||||||
|
|
||||||
- name: "no changes detected"
|
- name: "no changes detected"
|
||||||
if: steps.auto-commit-action.outputs.changes_detected == 'false'
|
if: steps.auto-commit-action.outputs.changes_detected == 'false'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user