Skip to content

Commit bbb23fe

Browse files
committed
redo pre-commit lite
1 parent 5f2135f commit bbb23fe

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

.github/workflows/enforce-label.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Enforce PR label and pre-commit
1+
name: Enforce PR label
22

33
concurrency:
44
group: label-${{ github.ref }}
@@ -15,7 +15,3 @@ jobs:
1515
steps:
1616
- name: enforce-triage-label
1717
uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1
18-
19-
- name: pre-commit
20-
uses: pre-commit-ci/lite-action@v1.1.0
21-
if: always()

.github/workflows/pre-commit.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
on:
2+
pull_request:
3+
push:
4+
branches: [main]
5+
6+
jobs:
7+
main:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: actions/setup-python@v4
12+
with:
13+
python-version: 3.x
14+
- uses: pre-commit/action@v3.0.1
15+
- uses: pre-commit-ci/lite-action@v1.1.0
16+
if: always()

0 commit comments

Comments
 (0)