diff --git a/.github/workflows/components.yaml b/.github/workflows/components.yaml index c6cb7108..1ad9b3e3 100644 --- a/.github/workflows/components.yaml +++ b/.github/workflows/components.yaml @@ -1,7 +1,9 @@ name: component CTFs on: - pull_request_target: + pull_request: + branches: + -main push: branches: - main @@ -36,6 +38,4 @@ jobs: with: go-version-file: '${{ github.workspace }}/go.mod' - name: CTF - run: | - cd component/ - PATH=$PATH:$(go env GOPATH)/bin make ocm && make ctf + run: PATH=$PATH:$(go env GOPATH)/bin make -C component/ ctf diff --git a/component/Makefile b/component/Makefile index 2cb7ae26..50f3ed48 100644 --- a/component/Makefile +++ b/component/Makefile @@ -28,7 +28,7 @@ endif SHELL = /usr/bin/env bash -o pipefail .SHELLFLAGS = -ec -OCM_CLI_VERSION ?= 0.15.0 +OCM_CLI_VERSION ?= 0.24.0 ## Location to install dependencies to LOCALBIN ?= $(shell pwd)/bin