diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 1a6fd04e733d..367dd741d834 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -16,7 +16,6 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - ref: ${{ github.event.pull_request.head.ref }} - name: Setup python uses: actions/setup-python@v4 @@ -37,10 +36,8 @@ jobs: - name: run pre-commit run: | source .venv/bin/activate - pip uninstall -y demisto-sdk - pip install demisto-sdk==1.15.5 npm install - demisto-sdk pre-commit -g --unit-test --validate --no-secrets --show-diff-on-failure --verbose --sdk-ref v1.15.5 + demisto-sdk pre-commit -g --unit-test --validate --no-secrets --show-diff-on-failure --verbose - name: Publish Test Report uses: mikepenz/action-junit-report@v3