mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
34 lines
895 B
YAML
34 lines
895 B
YAML
name: 01-pr-merged
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [closed]
|
|
branches:
|
|
- 'master'
|
|
- 'main'
|
|
paths-ignore:
|
|
- '**.yaml'
|
|
- '**.md'
|
|
- '**.sh'
|
|
- 'website/*'
|
|
- 'examples/*'
|
|
- 'docs/*'
|
|
- 'build/*'
|
|
- '.github/*'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
binary-build:
|
|
if: ${{ github.event.pull_request.merged == true && contains( github.event.pull_request.labels.*.name, 'trigger-integration-test') && github.event.pull_request.base.ref == 'master' }} ## run only if labeled as "trigger-integration-test" and base branch is master
|
|
uses: ./.github/workflows/b-binary-build-and-e2e-tests.yaml
|
|
with:
|
|
COMPONENT_NAME: kubescape
|
|
CGO_ENABLED: 1
|
|
GO111MODULE: ""
|
|
GO_VERSION: "1.19"
|
|
RELEASE: ""
|
|
CLIENT: test
|
|
secrets: inherit |