Files
chia-blockchain/.github/workflows/pre-commit.yml
T

23 lines
528 B
YAML

name: pre-commit
on:
pull_request:
push:
branches:
- 'long_lived/**'
- main
- 'release/**'
concurrency:
# SHA is added to the end if on `main` to let all main workflows run
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == 'refs/heads/main' && github.sha || '' }}
cancel-in-progress: true
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
- uses: pre-commit/action@v2.0.3