Skip to content

Style Checker and Pre-commit hook CI #56

Style Checker and Pre-commit hook CI

Style Checker and Pre-commit hook CI #56

Workflow file for this run

name: Pre-commit check
on:
pull_request:
types: [opened, reopened, synchronize, labeled]
jobs:
lint:
# if: |
# contains(github.event.pull_request.labels.*.name, 'Status: Pending Merge')
name: Checking if any fixes are needed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: 3.8
- id: changed-files
uses: tj-actions/changed-files@v36
- uses: pre-commit/[email protected]
with:
extra_args: --files ${{ steps.changed-files.outputs.all_changed_files }}
- uses: pre-commit-ci/[email protected]
name: Run pre-commit-ci-lite
if: always()