From 6f7550f08571be2cbf91a89dfdcb32c76af70d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Sun, 21 Apr 2019 19:46:03 +0200 Subject: [PATCH] Update main.workflow --- .github/main.workflow | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) 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 +}