fix: Update CI workflow to exclude Renovate bot
This commit is contained in:
1 parent
9cda538a68
commit
0a23cdb9b4
1 file changed
+4
-1
@@ -39,7 +39,10 @@ jobs:
|
||||
# Only pull request branches from this repository, where the formatting
|
||||
# commit can be pushed back. Everywhere else the spotlessCheck inside
|
||||
# the check task must fail on violations instead of hiding them.
|
||||
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
|
||||
if: >-
|
||||
github.event_name == 'pull_request' &&
|
||||
github.event.pull_request.head.repo.full_name == github.repository &&
|
||||
github.event.pull_request.user.login != 'renovate[bot]'
|
||||
run: |
|
||||
./gradlew spotlessApply
|
||||
if git diff --quiet; then
|
||||
|
||||
Reference in new issue
Block a user