Skip to content

Exclude Unnecessary Files from Entropy Calculations #489

Exclude Unnecessary Files from Entropy Calculations

Exclude Unnecessary Files from Entropy Calculations #489

---
# used for running pre-commit checks
name: pre-commit checks
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
pre_commit_checks:
# avoid running for pull requests from dependabot and instead rely on
# dependabot-pre-commit.yml workflow.
if: ${{ github.event_name != 'pull_request' ||
github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install python env
uses: ./.github/actions/install-python-env
- name: Install vale dependencies
run: |
poetry run vale sync
- uses: pre-commit/[email protected]