Skip to content

Attempt to create release #176

Attempt to create release

Attempt to create release #176

Workflow file for this run

name: pre-commit
on:
pull_request:
branches:
- master
- staging
types:
- opened
- reopened
- ready_for_review
- synchronize
env:
SKIP: pytest-check
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0 # get full git history
- uses: actions/setup-python@v5
with:
cache: 'pip'
- name: Install pre-commit
run: |
pip install pre-commit
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v46
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run pre-commit
uses: pre-commit/action@v3.0.1
with:
extra_args: --files ${{ steps.changed-files.outputs.all_changed_files }}