[internal] Enable fix auto commit on PRs (does not trigger CI run). (#3269)

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
This commit is contained in:
Adam R 2020-08-12 15:31:48 +02:00 committed by GitHub
parent 74a135273d
commit 6969705437
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ jobs:
- name: Run fix script (trustwallet repo, sanity and consistency)
if: github.repository_owner == 'trustwallet'
run: npm run fix
- name: Run fix script (fork repo, sanity only)
- name: Run fix-sanity script (fork repo, sanity only)
if: github.repository_owner != 'trustwallet'
run: npm run fix-sanity
- name: Show fix result (diff); run 'npm run fix' locally
@ -40,8 +40,7 @@ jobs:
- name: Run test
run: npm t
- name: Commit changes
# disabled on forks, commit there causes no CI run
if: success() && (github.repository_owner == 'trustwallet')
if: success()
uses: stefanzweifel/git-auto-commit-action@v4.1.2
with:
commit_user_name: trust-wallet-merge-bot