Skip to content

Remove master branch references after migrating to main #112

Remove master branch references after migrating to main

Remove master branch references after migrating to main #112

Workflow file for this run

name: pre-commit-ci
on:
pull_request:
branches:
- main
jobs:
pre-commit-ci:
name: Run pre-commit checks on changed files
runs-on: ubuntu-latest
steps:
- name: Checkout repo with all branches and tags
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Run pre-commit checks on any files changed between base_ref and HEAD
uses: pre-commit/[email protected]
with:
extra_args: --from-ref origin/${{github.base_ref}} --to-ref HEAD