Skip to content

Dispatch tests to Products.Meeting* #36

Dispatch tests to Products.Meeting*

Dispatch tests to Products.Meeting* #36

Workflow file for this run

name: Dispatch tests to Products.Meeting*
on:
schedule:
- cron: '0 6 1 * *'
workflow_dispatch:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
push:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
dispatch-tests:
runs-on: gha-runners-delib-py2
strategy:
matrix:
repository:
- Products.MeetingBEP
# - Products.MeetingCommunes
# - Products.MeetingCharleroi
# - Products.MeetingCPASLalouviere
# - Products.MeetingLalouviere
# - Products.MeetingLiege
# - Products.MeetingMons
# - Products.MeetingNamur
# - Products.MeetingPROVHainaut
# - Products.MeetingSeraing
if: ${{ !github.event_name == 'pull_request' || !github.event.pull_request.draft }}
steps:
- name: Needed for local development
if: ${{ env.ACT }}
run: echo /home/runner/externals/node20/bin >> $GITHUB_PATH
shell: bash
- name: Dispatch test to ${{ matrix.repository }}
uses: IMIO/gha/repository-dispatch-notify@main
with:
REPOSITORY: ${{ matrix.repository }}
REPOSITORY_OWNER: IMIO
GIT_REFERENCE: master
INPUTS: '{"branch_name":"${{ github.ref_name}}"}'
WORKFLOW_FILENAME: tests.yml
APP_ID: ${{ vars.APPS_ID_IMIO_GHA }}
APP_PRIVATE_KEY: ${{ secrets.APPS_PRIVATE_KEY_IMIO_GHA }}