Set the default branch inside the event data (#354)

* set ${{github.event.repository.default_branch}}

* change `ok == false` to `!ok`

Co-authored-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
Tom Lazar
2020-09-02 09:56:44 -05:00
committed by GitHub
parent d521fa5bba
commit 7d443c6520
4 changed files with 40 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ type Input struct {
noOutput bool
envfile string
secretfile string
defaultBranch string
privileged bool
}