.github/workflows/bot-super-report-custom.yml #6
Workflow file for this run
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 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 | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup the toolchain | |
uses: ./tools/actions/composites/setup-toolchain | |
with: | |
aws-access-key: ${{ secrets.AWS_S3_CACHE_ACCESS_KEY }} | |
aws-secret-key: ${{ secrets.AWS_S3_CACHE_SECRET_KEY }} | |
- name: Install dependencies | |
run: pnpm i --filter='!./apps/**' | |
- name: generate super report | |
uses: ./tools/actions/generate-bot-super-report | |
with: | |
branch: ${{inputs.branch}} | |
environment: ${{inputs.environment}} | |
days: ${{inputs.days}} | |
slackChannel: ${{inputs.slackChannel}} | |
githubToken: ${{github.token}} | |
slackApiToken: ${{secrets.SLACK_API_TOKEN}} |