Update format.yml

This commit is contained in:
Yanis
2024-05-28 18:27:18 +02:00
committed by GitHub
parent 6fdd615865
commit 49af40b224

View File

@@ -23,7 +23,7 @@ jobs:
run: python tools/check_format.py
check-pr:
if: ${{ github.event_name != 'push' }}
if: ${{ github.event_name == 'pull_request' }}
name: Check modified files
runs-on: ubuntu-latest
steps:
@@ -38,5 +38,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
git remote add upstream https://github.com/HackerN64/HackerOoT.git
git fetch upstream
- name: Check file's formatting
run: python tools/check_format.py --verbose --compare-to origin/develop/2.1.0
run: python tools/check_format.py --verbose --compare-to upstream/develop/2.1.0