Medpy 0.5.2 #75
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Runs the pre-commit hooks to make sure that all changes are properly formatted and such | |
# Triggers on: All PRs that are mergable, but not for draft PRs | |
# Triggers on: all published releases (incl draft releases) | |
name: Pre-commit hooks | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
release: | |
types: [published] | |
permissions: | |
contents: read | |
jobs: | |
pre-commit: | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- uses: pre-commit/[email protected] | |
- uses: pre-commit-ci/[email protected] | |
if: always() |