minor updates

This commit is contained in:
ludeeus
2019-03-08 22:12:01 +01:00
parent 08fbf028d3
commit ce2d663821
7 changed files with 41 additions and 50 deletions

33
.github/main.workflow vendored
View File

@ -1,19 +1,10 @@
workflow "Trigger: Push to master from admin account" {
on = "push"
resolves = [
"HA Index",
"push"
"HA Index"
]
}
workflow "Trigger: Push" {
on = "push"
resolves = [
"Black Code Formatter Check"
]
}
action "branch-filter" {
uses = "actions/bin/filter@master"
args = "branch master"
@ -31,26 +22,4 @@ action "HA Index" {
uses = "ludeeus/actions/haindex@master"
secrets = ["GITHUB_TOKEN"]
needs = ["branch-filter", "Access control"]
}
action "Black Code Formatter Fix" {
uses = "lgeiger/black-action@v1.0.1"
args = "$GITHUB_WORKSPACE"
}
action "Black Code Formatter Check" {
uses = "lgeiger/black-action@v1.0.1"
args = "$GITHUB_WORKSPACE --check"
}
action "push" {
uses = "ludeeus/actions/push@master"
env = {
PUSHMAIL = "ludeeus@gmail.com"
PUSHNAME = "ludeeus"
PUSHBRANCH = "master"
PUSHMESSAGE = "Action commit"
}
needs = ["Black Code Formatter Fix"]
secrets = ["GITHUB_TOKEN"]
}