Skip to content

Commit

Permalink
Update format.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanis002 authored May 28, 2024
1 parent 6fdd615 commit 49af40b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 49af40b

Please sign in to comment.