Skip to content

Commit

Permalink
👷 add closed event (#71)
Browse files Browse the repository at this point in the history
* 👷 add closed event

* 🚨 fix linter
  • Loading branch information
flaxel committed Oct 4, 2022
1 parent f313b3b commit cb9ebff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/template_autodev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ on:
branches-ignore:
- dev
pull_request:
types: [labeled, unlabeled]
types: [labeled, unlabeled, closed]

jobs:
autodev:
Expand Down

0 comments on commit cb9ebff

Please sign in to comment.