mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
Perform history update after each commit to master (git action build). (#5655)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
This commit is contained in:
parent
a189c05c4f
commit
f3bd24a494
32
.github/workflows/history.yml
vendored
Normal file
32
.github/workflows/history.yml
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
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
|
Loading…
Reference in New Issue
Block a user