Update actions
This commit is contained in:
parent
72f0635833
commit
239ab126fb
14
.github/main.workflow
vendored
14
.github/main.workflow
vendored
@ -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"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user