Fix git clone failing in Highlight Template Changes workflow after Git 2.45.1 release (#47579)

This commit is contained in:
Adrian Moldovan 2024-05-17 16:01:19 +03:00 committed by GitHub
parent edc22bca24
commit 1b7279f78c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ jobs:
- name: 'Analyze'
id: 'analyze'
working-directory: 'tools/code-analyzer'
env:
GIT_CLONE_PROTECTION_ACTIVE: false
run: |
HEAD_REF=$(git rev-parse HEAD)
exclude="plugins/woocommerce/tests plugins/woocommerce-admin/tests plugins/woocommerce-blocks/tests"