Skip to content

Commit

Permalink
🎨 Improve autodev (#66)
Browse files Browse the repository at this point in the history
* 🎨 check if run is necessary

* 📝 remove opened event

* ✏️ fix input typo

* ⏪ revert check adaptions

* 📝 remove closed event

* 🎨 add improved check

* 📝 add comment for check
  • Loading branch information
flaxel committed Sep 27, 2022
1 parent fe9bb5b commit e0a8acb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/template_autodev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ jobs:
name: Build Dev Branch
runs-on: ubuntu-22.04

if: github.actor != 'dependabot[bot]'
# 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)

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, opened, closed]
types: [labeled, unlabeled]

jobs:
autodev:
Expand Down

0 comments on commit e0a8acb

Please sign in to comment.