Test with 🤖 Nitrogen by @sprohaszka-ledger families=tezos #330
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "[Bot] Testing with 'Nitrogen'" | |
run-name: Test with 🤖 Nitrogen by @${{github.actor}} ${{inputs.families && format('families={0}',inputs.families) || ''}} ${{inputs.currencies && format('currencies={0}',inputs.currencies) || ''}} | |
on: | |
workflow_dispatch: | |
inputs: | |
families: | |
description: coin families to test, separated with commas (,) | |
required: false | |
currencies: | |
description: currency ids to test, separated with commas (,) | |
required: false | |
speculos_websocket: | |
description: check to use speculos with Websocket | |
type: boolean | |
required: false | |
default: false | |
concurrency: | |
group: bot-seed7 | |
jobs: | |
run-bot: | |
runs-on: [ledger-live-4xlarge] | |
steps: | |
- name: Generate token | |
id: generate-token | |
uses: tibdex/github-app-token@v1 | |
with: | |
app_id: ${{ secrets.GH_BOT_APP_ID }} | |
private_key: ${{ secrets.GH_BOT_PRIVATE_KEY }} | |
- uses: actions/checkout@v4 | |
- name: Retrieving coin apps | |
uses: actions/checkout@v4 | |
with: | |
ref: generated/ledger-live-bot | |
repository: LedgerHQ/coin-apps | |
token: ${{ steps.generate-token.outputs.token }} | |
path: coin-apps | |
- name: Run the bot | |
uses: LedgerHQ/ledger-live/tools/actions/composites/bot@develop | |
id: bot | |
timeout-minutes: 120 | |
with: | |
SHOW_LEGACY_NEW_ACCOUNT: "1" | |
SLACK_API_TOKEN: ${{secrets.SLACK_API_TOKEN}} | |
SLACK_ICON_EMOJI: ":bot-seed7:" | |
SEED: ${{ secrets.SEED7 }} | |
BOT_ENVIRONMENT: testing | |
BOT_FILTER_FAMILIES: ${{github.event.inputs.families}} | |
BOT_FILTER_CURRENCIES: ${{github.event.inputs.currencies}} | |
SPECULOS_USE_WEBSOCKET: ${{inputs.speculos_websocket}} |