mirror of
https://github.com/ivuorinen/actions.git
synced 2026-02-12 23:47:06 +00:00
feat(github-action)!: Update stefanzweifel/git-auto-commit-action (v5.2.0 → v6.0.1) (#160)
This commit is contained in:
2
.github/workflows/pr-lint.yml
vendored
2
.github/workflows/pr-lint.yml
vendored
@@ -154,7 +154,7 @@ jobs:
|
|||||||
github.ref != 'refs/heads/main' &&
|
github.ref != 'refs/heads/main' &&
|
||||||
(github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) &&
|
(github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) &&
|
||||||
!contains(github.event.head_commit.message, 'skip fix')
|
!contains(github.event.head_commit.message, 'skip fix')
|
||||||
uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2.0
|
uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6.0.1
|
||||||
with:
|
with:
|
||||||
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
|
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
|
||||||
commit_message: |
|
commit_message: |
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ runs:
|
|||||||
|
|
||||||
- name: Push Fixes
|
- name: Push Fixes
|
||||||
if: success()
|
if: success()
|
||||||
uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2.0
|
uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6.0.1
|
||||||
with:
|
with:
|
||||||
commit_message: 'style: autofix Biome violations'
|
commit_message: 'style: autofix Biome violations'
|
||||||
add_options: '-u'
|
add_options: '-u'
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ runs:
|
|||||||
|
|
||||||
- name: Push Fixes
|
- name: Push Fixes
|
||||||
if: always()
|
if: always()
|
||||||
uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2.0
|
uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6.0.1
|
||||||
with:
|
with:
|
||||||
commit_message: 'style: autofix ESLint violations'
|
commit_message: 'style: autofix ESLint violations'
|
||||||
add_options: '-u'
|
add_options: '-u'
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ runs:
|
|||||||
run: sudo chown -Rc $UID .git/
|
run: sudo chown -Rc $UID .git/
|
||||||
|
|
||||||
- name: Commit and push applied linter fixes
|
- name: Commit and push applied linter fixes
|
||||||
uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2.0
|
uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6.0.1
|
||||||
if: env.APPLY_FIXES_IF_COMMIT == 'true'
|
if: env.APPLY_FIXES_IF_COMMIT == 'true'
|
||||||
with:
|
with:
|
||||||
branch: >-
|
branch: >-
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ runs:
|
|||||||
|
|
||||||
- name: Push pre-commit fixes
|
- name: Push pre-commit fixes
|
||||||
if: always() # Push changes even when pre-commit fails
|
if: always() # Push changes even when pre-commit fails
|
||||||
uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2.0
|
uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6.0.1
|
||||||
with:
|
with:
|
||||||
commit_message: 'style(pre-commit): autofix'
|
commit_message: 'style(pre-commit): autofix'
|
||||||
add_options: -u
|
add_options: -u
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ runs:
|
|||||||
|
|
||||||
- name: Push Fixes
|
- name: Push Fixes
|
||||||
if: always()
|
if: always()
|
||||||
uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2.0
|
uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6.0.1
|
||||||
with:
|
with:
|
||||||
commit_message: 'style: autofix Prettier violations'
|
commit_message: 'style: autofix Prettier violations'
|
||||||
add_options: '-u'
|
add_options: '-u'
|
||||||
|
|||||||
Reference in New Issue
Block a user