diff --git a/.github/workflows/pr-issue-validator.yaml b/.github/workflows/pr-issue-validator.yaml index 0befe0a017..3a5f265f71 100644 --- a/.github/workflows/pr-issue-validator.yaml +++ b/.github/workflows/pr-issue-validator.yaml @@ -1,13 +1,29 @@ -name: PR Validation (Test) +name: Validate Pull Request on: pull_request: - types: [opened, synchronize, reopened, edited] - branches: - - fix/pr-validator # This ensures the workflow runs only for PRs targeting your branch - + types: + - opened + - synchronize + - edited + - reopened + branches: + - 'main' + - 'release-**' + - 'develop' + - 'hotfix-**' + - 'fix/pr-validator' + # paths-ignore: + # - 'docs/**' + # - '.github/' + # - 'CHANGELOG/' + # - 'charts/' + # - 'manifests/' + # - 'sample-docker-templates/' + jobs: pr-validation: uses: devtron-labs/utilities/.github/workflows/pr-validator.yaml@feat/central-pr-validator + secrets: inherit with: validate_sql: true # Enable/disable SQL validation diff --git a/test.txt b/test.txt new file mode 100644 index 0000000000..70a915dc3c --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +demo changes for PR validator