chore: disable committing changes manually on pr's

This commit is contained in:
Sekwah 2024-06-17 12:10:40 +01:00
parent f27170fe0c
commit 469840194f

View File

@ -50,9 +50,11 @@ jobs:
extra_args: --all-files extra_args: --all-files
- uses: pre-commit-ci/lite-action@v1.0.2 - uses: pre-commit-ci/lite-action@v1.0.2
if: always() if: always()
with:
msg: apply code formatting
- name: Commit pre-commit changes - name: Commit pre-commit changes
if: always() && github.event.action != 'pull_request' if: always() && github.event.action != 'pull_request' && github.event.action != 'labeled'
run: | run: |
git config --global user.name "github-actions[bot]" git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.email "github-actions[bot]@users.noreply.github.com"