Skip to content

Delete .pre-commit-config.yaml #57

Delete .pre-commit-config.yaml

Delete .pre-commit-config.yaml #57

Workflow file for this run

name: Pre-commit
on:
push:
branches: [ "main" ]
paths-ignore:
- '**.md'
- '.github/**'
pull_request:
branches: [ "main" ]
paths-ignore:
- '**.md'
- '.github/**'
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x' # Specify the Python version
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files
- name: Commit changes
env:
GITHUB_ACTOR: ${{ github.actor }}
COMMIT_EMAIL: ${{ github.actor }}@users.noreply.github.com
run: echo $GITHUB_AUTOR
#git config --global user.name $GITHUB_ACTOR
#git config --global user.email $COMMIT_EMAIL
#git commit -am "Pre-commit"