diff --git a/.github/workflows/template_autodev.yml b/.github/workflows/template_autodev.yml index b8328132..4a857f22 100644 --- a/.github/workflows/template_autodev.yml +++ b/.github/workflows/template_autodev.yml @@ -54,8 +54,8 @@ jobs: name: Build Dev Branch runs-on: ubuntu-22.04 - # check to not trigger if dependabot did something or label is not the configured dev label, otherwise run it - if: github.actor != 'dependabot[bot]' && (github.event_name == 'push' || github.event.label.name == inputs.label) + # check to not trigger if dependabot did something or PR was closed or label is not the configured dev label + if: github.actor != 'dependabot[bot]' && (github.event_name == 'push' || github.event.label.name == inputs.label || github.event.action == 'closed') steps: - name: Checkout diff --git a/README.md b/README.md index 3fbe457b..b50015cd 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ on: branches-ignore: - dev pull_request: - types: [labeled, unlabeled] + types: [labeled, unlabeled, closed] jobs: autodev: