mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2025-08-25 00:52:08 +08:00
Use ref checkout properly
This commit is contained in:
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'
|
||||
|
Reference in New Issue
Block a user