gh: actions: Triggger the do not merge after manifest runs

For some reason when the manifest action runs and removes the DNM label,
the Do Not Merge workflow doesn't run automatically. Force it running
whenever the Manifest workflow completes to fix this.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2022-04-01 11:46:42 +02:00 committed by Anas Nashif
parent 35e058bcad
commit 4bb3039560

View file

@ -4,6 +4,12 @@ on:
pull_request:
types: [synchronize, opened, reopened, labeled, unlabeled]
workflow_run:
workflows: [Manifest]
types:
- completed
jobs:
do-not-merge:
if: ${{ contains(github.event.*.labels.*.name, 'DNM') }}