Skip to content

Commit

Permalink
Run manifest ci check only when PR is labelled (#4568)
Browse files Browse the repository at this point in the history
Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya authored Mar 25, 2024
1 parent b515bf0 commit 97770ce
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/manifests.yml
Original file line number Diff line number Diff line change
@@ -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 }}
Expand Down

0 comments on commit 97770ce

Please sign in to comment.