Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions .github/workflows/gen_configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,22 @@ on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
inputs:
target_branch:
description: Branch to run against and target for PR
required: true
default: master
type: string

jobs:
update_configs:
runs-on: ubuntu-22.04
env:
TARGET_BRANCH: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.target_branch || github.ref_name }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ env.TARGET_BRANCH }}

- name: Create 128x128 images in icons dir
shell: bash
Expand All @@ -35,13 +45,14 @@ jobs:
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
base: ${{ env.TARGET_BRANCH }}
branch: config-generate/${{ env.TARGET_BRANCH }}
delete-branch: true
title: '[BOT] Update coins config json'
title: "[BOT] Update coins config json for ${{ env.TARGET_BRANCH }}"
body: |
- Coins JSON config auto-generated on merge to master
- Coins JSON config auto-generated from `${{ env.TARGET_BRANCH }}`
- Electrum scan report updated
labels: |
config-update
reviewers: cipig, smk762, gcharang
reviewers: cipig
draft: false
Loading