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 <[email protected]>
  • Loading branch information
gaiksaya committed Mar 25, 2024
1 parent b515bf0 commit bc519ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .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:
types: [ labeled ]

Check failure on line 6 in .github/workflows/manifests.yml

View workflow job for this annotation

GitHub Actions / yaml-lint

6:13 [brackets] too many spaces inside brackets

Check failure on line 6 in .github/workflows/manifests.yml

View workflow job for this annotation

GitHub Actions / yaml-lint

6:21 [brackets] too many spaces inside brackets
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 bc519ba

Please sign in to comment.