From a9aa07a104901e0b2269e65fb5a2758c11299344 Mon Sep 17 00:00:00 2001 From: Braydon Date: Sun, 6 Aug 2023 01:49:44 -0400 Subject: [PATCH] remove dumb check --- .gitea/workflows/test.yml | 1 - main.go | 4 ---- 2 files changed, 5 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 991b0bf..51a55d0 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -7,7 +7,6 @@ env: GOPROXY: https://goproxy.io,direct GOPATH: /home/rootless/go_path GOCACHE: /home/rootless/go_cache - CGO_ENABLED: "1" jobs: lint: diff --git a/main.go b/main.go index 29b7721..be9bcd5 100644 --- a/main.go +++ b/main.go @@ -21,10 +21,6 @@ func main() { tag := gha.GetInput("tag") if tag == "" { tag = ctx.Ref - } - - if !strings.HasPrefix(tag, "refs/tags/") { - gha.Fatalf("ref %s is not a tag", tag) } files := gha.GetInput("files")