Add and update commit frequency metrics #503
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
--- | |
# 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] |