diff --git a/.github/main.workflow b/.github/main.workflow index 2e7cc29..b9e98f5 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -1,33 +1,9 @@ -workflow "Trigger: Push to master from admin account" { - on = "push" - resolves = ["HA Index"] -} - workflow "Trigger: Push" { on = "push" resolves = ["Black Code Formatter"] } -action "branch-filter" { - uses = "actions/bin/filter@master" - args = "branch master" -} - -action "Access control" { - uses = "ludeeus/action-accesscontrol@master" - env = { - ACTION_LEVEL = "admin" - } - secrets = ["GITHUB_TOKEN"] -} - -action "HA Index" { - uses = "ludeeus/action-haindex@master" - secrets = ["GITHUB_TOKEN"] - needs = ["branch-filter", "Access control"] -} - action "Black Code Formatter" { uses = "lgeiger/black-action@master" args = "$GITHUB_WORKSPACE --check --diff" -} \ No newline at end of file +}