- Change trigger from check_run to check_suite completed event
- Run feeds test build only when all checks in the suite succeed
Fixes: ef633e9 ("ci: replace GitHub actions (labeler, formalities) by webhook")
Signed-off-by: Josef Schlehofer <redacted>
name: Test and Build
on:
- check_run:
+ check_suite:
types: [completed]
permissions:
jobs:
build:
name: Feeds Package Test Build
- if: ${{ github.event.check_run.name == 'Formalities Check' && github.event.check_run.conclusion == 'success' }}
+ if: ${{ github.event.check_suite.conclusion == 'success' }}
uses: openwrt/actions-shared-workflows/.github/workflows/multi-arch-test-build.yml@main