Skip to content

[Coin] - Daily non-reg with 'Nitrogen' - Scheduled #918

[Coin] - Daily non-reg with 'Nitrogen' - Scheduled

[Coin] - Daily non-reg with 'Nitrogen' - Scheduled #918

name: "[Coin] - Daily non-reg with 'Nitrogen' - Scheduled"
on:
schedule:
- cron: "9 16 * * 1-5" # every working day at 4pm we will do a daily non reg on what was merged in
permissions:
id-token: write
contents: read
concurrency:
group: bot-seed7
jobs:
run-bot:
runs-on: [ledger-live-medium]
steps:
- name: generate token
id: generate-token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # 2.2.1
with:
app-id: ${{ secrets.GH_BOT_APP_ID }}
private-key: ${{ secrets.GH_BOT_PRIVATE_KEY }}
repositories: |
coin-apps
ledger-live
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Retrieving coin apps
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
ref: generated/ledger-live-bot
repository: LedgerHQ/coin-apps
token: ${{ steps.generate-token.outputs.token }}
path: coin-apps
- name: Setup the toolchain
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
with:
cache-develop-role-arn: ${{ secrets.AWS_CACHE_OIDC_ROLE_ARN_DEVELOP }}
cache-branch-role-arn: ${{ secrets.AWS_CACHE_OIDC_ROLE_ARN_BRANCH }}
nx-key: ${{ secrets.NX_KEY }}
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
- 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: production
# We don't run these currencies daily because fees are expensive
BOT_DISABLED_CURRENCIES: bitcoin,ethereum,qtum,decred,cardano,axelar,cosmos,secret_network,avalanche_c_chain,bsc,filecoin,tron,cronos,fantom,boba,desmos,xion,velas_evm,umee,stargaze,klaytn,etherlink,telos_evm,polygon_zk_evm,polkadot,polygon_zk_evm_testnet,aptos_testnet,arbitrum_sepolia,base_sepolia,blast_sepolia,scroll_sepolia,zksync_sepolia,ethereum_sepolia,optimism_sepolia,linea_sepolia,near
BOT_FILTER_FEATURES: send