From cb9ebffaccee9f8467ce988fc3089be8f98d33f4 Mon Sep 17 00:00:00 2001 From: Falk Puschner Date: Tue, 4 Oct 2022 14:52:02 +0200 Subject: [PATCH] :construction_worker: add closed event (#71) * :construction_worker: add closed event * :rotating_light: fix linter --- .github/workflows/template_autodev.yml | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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: