diff --git a/.changelog/4336.yml b/.changelog/4336.yml new file mode 100644 index 00000000000..97c5e16ba7e --- /dev/null +++ b/.changelog/4336.yml @@ -0,0 +1,6 @@ +changes: +- description: Changed test-pre-commit-command validate hook to run only BA100 validation. + type: internal +- description: demist-sdk lint command is deprecated and should be fully removed from the SDK on September 1st. Please use the pre-commit command instead. + type: breaking +pr_number: 4336 diff --git a/.github/workflows/on-push.yml b/.github/workflows/on-push.yml index ff90f6ec026..0fc1ebe2a1d 100644 --- a/.github/workflows/on-push.yml +++ b/.github/workflows/on-push.yml @@ -253,7 +253,7 @@ jobs: run: | # Run only a specific validation to make sure validate is triggered successfully in demisto-sdk pre-commit cd content - echo -e "[validate]\nrun_specific_validations=BA101" > .demisto-sdk-conf + echo -e '[use_git]\nselect = ["BA100"]\n[path_based_validations]\nselect = ["BA100"]' > validation_config.toml - name: run pre-commit on changed files timeout-minutes: 60 @@ -284,7 +284,7 @@ jobs: cd content rm -rf .pre-commit-config_template.yaml rm -f Tests/docker_native_image_config.json - demisto-sdk pre-commit --validate --show-diff-on-failure --verbose --mode=ci + demisto-sdk pre-commit --validate --show-diff-on-failure --verbose - name: Upload artifacts if: always()