diff --git a/.github/workflows/validate-config.yml b/.github/workflows/validate-config.yml index 9ed27b1..bf03b77 100644 --- a/.github/workflows/validate-config.yml +++ b/.github/workflows/validate-config.yml @@ -1,16 +1,16 @@ name: Validate configuration files on: - push: + pull_request: + types: [opened, synchronize, reopened] branches: - - '**' + - 'main' + - 'fix-rule-on-validate-config' jobs: validate_json_files: runs-on: ubuntu-latest - if: github.ref != 'refs/heads/main' - steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/README.md b/README.md index 98b0f1d..d11511d 100644 --- a/README.md +++ b/README.md @@ -66,4 +66,6 @@ To add a new protocol or update existing data: Please ensure that: - All fields are correctly filled. - - The integration URL is valid and points to the appropriate page. \ No newline at end of file + - The integration URL is valid and points to the appropriate page. + +