Skip to content

Commit 168d2ab

Browse files
chore: run pre-commit on changes to the config file
If .pre-commit-config.yaml or .github/workflows/pre_commit.yml are updated then run pre-commit.
1 parent 1e82f83 commit 168d2ab

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/pre_commit.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: pre_commit
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
.github/workflows/pre_commit.yml
9+
.pre-commit-config.yaml
10+
pull_request:
11+
branches:
12+
- main
13+
- master
14+
paths:
15+
- .github/workflows/pre_commit.yml
16+
- .pre-commit-config.yaml
17+
18+
env:
19+
PY_COLORS: 1
20+
21+
jobs:
22+
23+
pre_commit:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v2
27+
- uses: actions/setup-python@v2
28+
- run: pip install --upgrade -r requirements.txt -r requirements-lint.txt pre-commit
29+
- name: Run pre-commit install
30+
run: pre-commit install
31+
- name: pre-commit run all-files
32+
run: pre-commit run --all-files

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy