Skip to content

Bump peter-evans/create-pull-request from 6 to 7 (#1142) #966

Bump peter-evans/create-pull-request from 6 to 7 (#1142)

Bump peter-evans/create-pull-request from 6 to 7 (#1142) #966

Workflow file for this run

name: pre-commit
on:
# Manually triggerable in GitHub
workflow_dispatch:
# When a push occurs on either of these branches
push:
branches:
- main
- development
# When a push occurs on a PR that targets these branches
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
branches:
- main
- development
jobs:
run-all-files:
if : ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install pre-commit
run: |
pip install pre-commit
pre-commit install
pip install pylint
- name: Run pre-commit
run: |
pre-commit run --all-files