Skip to content
Prev Previous commit
Next Next commit
try to fix ci
  • Loading branch information
sobolevn committed Sep 15, 2023
commit dbdc48af9ce1307c2c3a2e2e3f908bc060d8fef2
6 changes: 4 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: "Run patchcheck"
run: |
git fetch origin
git checkout "${{ github.head_ref }}"
python Tools/patchcheck/patchcheck.py --ci true