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

Commit168d2ab

Browse files
chore: run pre-commit on changes to the config file
If .pre-commit-config.yaml or .github/workflows/pre_commit.yml areupdated then run pre-commit.
1 parent1e82f83 commit168d2ab

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)

[8]ページ先頭

©2009-2025 Movatter.jp