-
Notifications
You must be signed in to change notification settings - Fork 332
41 lines (38 loc) · 1.28 KB
/
bot-super-report-custom.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: "Bot Super Report (custom)"
on:
workflow_dispatch:
inputs:
branch:
description: the branch to filter (if any)
environment:
description: the environment to filter (if any)
days:
description: number of days to take
slackChannel:
description: channel to use for the report
permissions:
id-token: write
contents: read
jobs:
main:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup the toolchain
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-toolchain@develop
with:
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
turbo-server-token: ${{ secrets.TURBOREPO_SERVER_TOKEN }}
- name: Install dependencies
run: pnpm i --filter='!./apps/**'
- name: generate super report
uses: LedgerHQ/ledger-live/tools/actions/generate-bot-super-report@develop
with:
branch: ${{inputs.branch}}
environment: ${{inputs.environment}}
days: ${{inputs.days}}
slackChannel: ${{inputs.slackChannel}}
githubToken: ${{github.token}}
slackApiToken: ${{secrets.SLACK_API_TOKEN}}