Update actions

This commit is contained in:
ludeeus 2019-03-09 12:58:00 +01:00
parent 72f0635833
commit 239ab126fb

14
.github/main.workflow vendored
View File

@ -1,8 +1,11 @@
workflow "Trigger: Push to master from admin account" { workflow "Trigger: Push to master from admin account" {
on = "push" on = "push"
resolves = [ resolves = ["HA Index"]
"HA Index" }
]
workflow "Trigger: Push" {
on = "push"
resolves = ["Black Code Formatter"]
} }
action "branch-filter" { action "branch-filter" {
@ -23,3 +26,8 @@ action "HA Index" {
secrets = ["GITHUB_TOKEN"] secrets = ["GITHUB_TOKEN"]
needs = ["branch-filter", "Access control"] needs = ["branch-filter", "Access control"]
} }
action "Black Code Formatter" {
uses = "lgeiger/black-action@master"
args = "$GITHUB_WORKSPACE --check --diff"
}