mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-09-30 03:31:27 +02:00
ci: fix trivy failure for release PR
Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
@@ -92,6 +92,7 @@ jobs:
|
||||
exit-code: '0'
|
||||
|
||||
- name: Upload Trivy scan results
|
||||
if: (!startsWith(github.head_ref, 'release'))
|
||||
uses: github/codeql-action/upload-sarif@v4
|
||||
with:
|
||||
sarif_file: 'trivy-results.sarif'
|
||||
|
||||
@@ -147,7 +147,7 @@ test: lint ## Run all Go tests
|
||||
GO111MODULE=on $(GO) test $(TESTCOVER) -v -race ./...
|
||||
|
||||
.PHONY: release
|
||||
release: validate-go-version lint test ## Create a full release for all architectures (binaries and checksums)
|
||||
release: validate-go-version ## Create a full release for all architectures (binaries and checksums)
|
||||
BINARY=${BINARY} VERSION=${VERSION} ./dist.sh
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
Reference in New Issue
Block a user