Skip to content

Commit

Permalink
Run manifest ci check only when PR is labelled
Browse files Browse the repository at this point in the history
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
  • Loading branch information
gaiksaya committed Mar 25, 2024
1 parent b515bf0 commit dbc33dc
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 dbc33dc

Please sign in to comment.