Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitde14dea

Browse files
chore: run pre-commit on changes to the config file
If the .pre-commit-config.yaml is updated then run pre-commit
1 parenta6d631f commitde14dea

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

‎.github/workflows/pre_commit.yml‎

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp