forked from jl777/coins
-
Notifications
You must be signed in to change notification settings - Fork 123
45 lines (40 loc) · 1.38 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
42
43
44
45
name: Update Coin Configs and create 128x128 images in icons dir
on:
push:
branches: [ "master" ]
paths-ignore:
- 'utils/coins_config.json'
- 'utils/coins_config_ssl.json'
- 'utils/coins_config_tcp.json'
- 'utils/coins_config_wss.json'
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
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: pip3 install websockets && ${GITHUB_WORKSPACE}/utils/generate_app_configs.py
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update coins json file
committer: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
author: github-actions[bot] <github-actions[bot]@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