Skip to content

ci: add a github bot to support advanced PR review workflows #6221

ci: add a github bot to support advanced PR review workflows

ci: add a github bot to support advanced PR review workflows #6221

Workflow file for this run

name: contribs
on:
push:
branches:
- master
workflow_dispatch:
pull_request:
jobs:
setup:
runs-on: ubuntu-latest
outputs:
programs: ${{ steps.set-matrix.outputs.programs }}
steps:
- uses: actions/checkout@v4
- id: set-matrix
run: echo "::set-output name=programs::$(ls -d contribs/*/ | cut -d/ -f2 | jq -R -s -c 'split("\n")[:-1]')"
main:
needs: setup
strategy:
fail-fast: false
matrix:
program: ${{ fromJson(needs.setup.outputs.programs) }}
name: Run Main
uses: ./.github/workflows/main_template.yml
with:
modulepath: contribs/${{ matrix.program }}
secrets:
codecov-token: ${{ secrets.CODECOV_TOKEN }}