forked from jl777/coins
-
Notifications
You must be signed in to change notification settings - Fork 123
41 lines (36 loc) · 1.19 KB
/
gen_configs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Update Coin Configs and create 128x128 images in icons dir
on:
push:
branches: [ "master" ]
paths-ignore:
- 'utils/coins_config.json'
schedule:
- cron: '0 0 * * *'
jobs:
update_configs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create 128x128 images in icons dir
shell: bash
run: ${GITHUB_WORKSPACE}/utils/icons_resize.sh
- name: Generate configs
shell: bash
run: ${GITHUB_WORKSPACE}/utils/generate_app_configs.py
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: update coins json file
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
branch: json-config-update
delete-branch: true
title: '[BOT] Update coins config json'
body: |
- Coins JSON config auto-generated on merge to master
- Electrum scan report updated
labels: |
config-update
reviewers: cipig, smk762, gcharang
draft: false