name: History update on: push: branches: [ master ] workflow_dispatch: jobs: check: runs-on: ubuntu-latest steps: - name: Checkout (with secret token) uses: actions/checkout@v2 with: token: ${{ secrets.COMMIT_TOKEN }} #ref: ${{ github.ref }} - uses: actions/setup-node@v1 with: node-version: 12 - name: Install Dependencies run: npm ci - name: Run history run: npm run history - name: Show history update result (diff) run: | git status git diff - name: Commit changes if: success() uses: stefanzweifel/git-auto-commit-action@v4.1.2 with: commit_user_name: trust-wallet-merge-bot commit_user_email: mergebot@trustwallet.com commit_message: History update