fix action
This commit is contained in:
parent
f686660196
commit
ad2e54a710
24
.github/main.workflow
vendored
24
.github/main.workflow
vendored
@ -1,14 +1,15 @@
|
|||||||
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",
|
||||||
|
"push"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
workflow "Trigger: Push" {
|
workflow "Trigger: Push" {
|
||||||
on = "push"
|
on = "push"
|
||||||
resolves = [
|
resolves = [
|
||||||
"Black Code Formatter"
|
"Black Code Formatter Check"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -32,7 +33,24 @@ action "HA Index" {
|
|||||||
needs = ["branch-filter", "Access control"]
|
needs = ["branch-filter", "Access control"]
|
||||||
}
|
}
|
||||||
|
|
||||||
action "Black Code Formatter" {
|
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"
|
uses = "lgeiger/black-action@v1.0.1"
|
||||||
args = "$GITHUB_WORKSPACE --check"
|
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"]
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user