trustwallet-assets/.github/workflows/generator.yml
mykola.eth d6d2606101
Pr/1874 (#1879)
* LikeApp Update Logo and Info

popular global platform for creating and sharing original videos.

* move

* short_description

* Check info asset keys

* f

* Try access gituhb token

* Optimised images with calibre/image-actions

* Use corret size to match agains existing file

* Access branch name

Co-authored-by: likeappofc18 <63719781+likeappofc18@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-04-15 16:29:52 -07:00

27 lines
753 B
YAML

name: Generator
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1.4.1
with:
node-version: 12
- name: Generate list
run: |
npm install
npm run gen:list
git config --local user.email "trustbot@trustwallet.com"
git config --local user.name "Trust Wallet Actions Bot"
git diff
git commit -m "Generate whitelist and blacklist" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
branch: ${GITHUB_REF##*/}