Skip to content

Commit ce95073

Browse files
ci(github): fix workflows
1 parent d793542 commit ce95073

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/mergify.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ pull_request_rules:
22
- name: automatic merge for Dependabot pull requests
33
conditions:
44
- author=dependabot[bot]
5-
- check-success=build
65
- check-success=commitlint
76
- check-success=lint
87
- 'title~=^build\(deps-dev\): bump '

.github/workflows/build.yml renamed to .github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: build
1+
name: docs
22
on: [push, pull_request]
33

44
permissions:
55
contents: write
66

77
jobs:
8-
build:
8+
docs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout repository
@@ -17,8 +17,8 @@ jobs:
1717
cache: pip
1818
python-version: 3
1919

20-
- name: Install pdoc
21-
run: pip install pdoc
20+
- name: Install dependencies
21+
run: pip install -e .[docs]
2222

2323
- name: Build docs
2424
run: pdoc src/python_cli_template/ -o docs

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
python-version: 3
1919

2020
- name: Install dependencies
21-
run: pip install -e .[test]
21+
run: pip install -e .[lint]
2222

2323
- name: Run Black
2424
run: black --check .

0 commit comments

Comments
 (0)