diff --git a/.github/workflows/manifests.yml b/.github/workflows/manifests.yml index 82954d0460..bb7be2cb8c 100644 --- a/.github/workflows/manifests.yml +++ b/.github/workflows/manifests.yml @@ -1,15 +1,17 @@ --- -name: manifests +name: manifests-ci-check on: pull_request: - paths: - - 'manifests/**/*.yml' - - '!manifests/templates/**/' - - 'legacy-manifests/**/*.yml' + types: [labeled] + paths: + - 'manifests/**/*.yml' + - '!manifests/templates/**/' + - 'legacy-manifests/**/*.yml' jobs: list-changed-manifests: + if: ${{ github.repository == 'opensearch-project/opensearch-build' && github.event.label.name == 'manifest-ci-check' }} runs-on: ubuntu-latest outputs: matrix: ${{ steps.set-matrix.outputs.matrix }}