Fix commit: disable on forks, as commit there causes no CI runs. (#3124)

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
This commit is contained in:
Adam R 2020-08-07 14:09:49 +02:00 committed by GitHub
parent 662662843e
commit 606d1a8e6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,8 @@ jobs:
- name: Run test
run: npm t
- name: Commit changes
if: success()
# disabled on forks, commit there causes no CI run
if: success() && (github.repository_owner == 'trustwallet')
uses: stefanzweifel/git-auto-commit-action@v4.1.2
with:
commit_user_name: trust-wallet-merge-bot