Skip to content

Commit

Permalink
Merge branch 'invesalius:master' into type-info-3
Browse files Browse the repository at this point in the history
  • Loading branch information
omar-abdelgawad authored Jul 5, 2024
2 parents cc71e09 + 208e152 commit 1f2c72e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: pre-commit
on:
pull_request
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
- id: file_changes
uses: trilom/[email protected]
with:
prNumber: ${{ github.event.number }}
output: ' '
- uses: pre-commit/[email protected]
name: ruff-pre-commit-run
with:
extra_args: --files ${{ steps.file_changes.outputs.files }}

0 comments on commit 1f2c72e

Please sign in to comment.