diff --git a/.github/workflows/pr-created.yaml b/.github/workflows/pr-created.yaml index b976b7f..bff7c61 100644 --- a/.github/workflows/pr-created.yaml +++ b/.github/workflows/pr-created.yaml @@ -2,8 +2,6 @@ name: pull_request_created on: pull_request: types: [opened, reopened, synchronize, ready_for_review] - branches: - - 'main' paths-ignore: - '*.md' - '*.yaml' diff --git a/.github/workflows/pr-merged.yaml b/.github/workflows/pr-merged.yaml index f966d92..b417926 100644 --- a/.github/workflows/pr-merged.yaml +++ b/.github/workflows/pr-merged.yaml @@ -6,6 +6,7 @@ on: - 'main' paths-ignore: - '**.md' ### Ignore running when README.MD changed. + - '**.yaml' ### Ignore running when YAML files changed. - '.github/workflows/*' ### Ignore running when files under path: .github/workflows/* changed. jobs: @@ -20,7 +21,7 @@ jobs: with: IMAGE_NAME: quay.io/${{ github.repository_owner }}/kubescape-exporter IMAGE_TAG: v0.1.${{ github.run_number }} - COMPONENT_NAME: kubescapeExporter + COMPONENT_NAME: prometheus-exporter CGO_ENABLED: 0 GO111MODULE: "on" BUILD_PLATFORM: linux/amd64,linux/arm64