Skip to content

Add sanity checking steps to reads_qc subworkflow #17

Add sanity checking steps to reads_qc subworkflow

Add sanity checking steps to reads_qc subworkflow #17

Workflow file for this run

name: pre-commit
on:
push:
branches: [main]
pull_request:
branches: [main]
# Cancel if a newer run is started
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# requites to grab the history of the PR
fetch-depth: 0
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
with:
extra_args: --color=always --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}