Skip to content

Commit

Permalink
temp workaround for pre-commit (#31565)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilaner authored and maimorag committed Dec 31, 2023
1 parent aee9238 commit d70bf3c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ jobs:
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: |
source .venv/bin/activate
demisto-sdk pre-commit -g --unit-test --validate --no-secrets --show-diff-on-failure --verbose --mode=ci
# temporary workaround: use v1.24.0 sdk
demisto-sdk pre-commit -g --unit-test --validate --no-secrets --show-diff-on-failure --verbose --mode=ci --sdk-ref v1.24.0
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails
Expand Down Expand Up @@ -114,7 +115,9 @@ jobs:
- name: run pre-commit community-level
run: |
source .venv/bin/activate
demisto-sdk pre-commit -g --unit-test --validate --no-secrets --show-diff-on-failure --verbose --mode=nightly
# temporary workaround: use v1.24.0 sdk
demisto-sdk pre-commit -g --unit-test --validate --no-secrets --show-diff-on-failure --verbose --mode=nightly --sdk-ref v1.24.0
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
Expand Down

0 comments on commit d70bf3c

Please sign in to comment.