From 6fbca97ffeac105dd606ca9a270f39f23218aa50 Mon Sep 17 00:00:00 2001 From: satya_prakash <155617493+SATYAsasini@users.noreply.github.com> Date: Wed, 15 Jan 2025 20:30:16 +0530 Subject: [PATCH 1/3] chore: testing PR valiator --- test.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test.txt 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 From a8b749bd3ca4f93e33f8ad1e2e62dec016ce0c47 Mon Sep 17 00:00:00 2001 From: satya_prakash <155617493+SATYAsasini@users.noreply.github.com> Date: Wed, 5 Mar 2025 19:22:28 +0530 Subject: [PATCH 2/3] Update pr-issue-validator.yaml --- .github/workflows/pr-issue-validator.yaml | 29 ++++++++++++++++------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pr-issue-validator.yaml b/.github/workflows/pr-issue-validator.yaml index 09fd75d5b9..4f166222ef 100644 --- a/.github/workflows/pr-issue-validator.yaml +++ b/.github/workflows/pr-issue-validator.yaml @@ -1,15 +1,28 @@ -name: PR Validation (Test) +name: Validate Pull Request on: pull_request: - types: [opened, synchronize, reopened] - 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-**' + # paths-ignore: + # - 'docs/**' + # - '.github/' + # - 'CHANGELOG/' + # - 'charts/' + # - 'manifests/' + # - 'sample-docker-templates/' + jobs: pr-validation: - uses: devtron-labs/devops-pocs/.github/workflows/pr-validator.yaml@main + uses: devtron-labs/utilities/.github/workflows/pr-validator.yaml@feat/central-pr-validator + secrets: inherit with: validate_sql: true # Enable/disable SQL validation - secrets: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From d80ff8e30d467f552a4c6a7d0f5316b0caf145a7 Mon Sep 17 00:00:00 2001 From: satya_prakash <155617493+SATYAsasini@users.noreply.github.com> Date: Wed, 5 Mar 2025 19:24:39 +0530 Subject: [PATCH 3/3] Update pr-issue-validator.yaml --- .github/workflows/pr-issue-validator.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr-issue-validator.yaml b/.github/workflows/pr-issue-validator.yaml index 4f166222ef..3a5f265f71 100644 --- a/.github/workflows/pr-issue-validator.yaml +++ b/.github/workflows/pr-issue-validator.yaml @@ -12,6 +12,7 @@ on: - 'release-**' - 'develop' - 'hotfix-**' + - 'fix/pr-validator' # paths-ignore: # - 'docs/**' # - '.github/'