1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00

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 8d723eb376
commit 2e09dfac74
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
}