mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
f3bd24a494
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
33 lines
860 B
YAML
33 lines
860 B
YAML
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
|