Skip to content
Prev Previous commit
Next Next commit
try to fix ci
  • Loading branch information
sobolevn committed Sep 15, 2023
commit 47da9c339f6c1c2a9be07794eacc702c25b0e047
6 changes: 5 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,18 @@ jobs:
- uses: pre-commit/[email protected]

patchcheck:
if: "github.repository == 'python/cpython' && github.event_name == 'pull_request'"
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- run: |
- name: "Run patchcheck"
run: |
git fetch origin
python Tools/patchcheck/patchcheck.py --ci true