Skip to content

Commit 94aee30

Browse files
authored
Merge pull request #1 from poespas/autosuggest-linter
Autosuggest linter
2 parents 99cb9e4 + ddf831e commit 94aee30

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/lint.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Run linting and suggest changes
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: read
8+
pull-requests: write
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
python-version: ['3.10']
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: actions/setup-python@v4
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Install dependencies
23+
run: |
24+
pip install -r requirements/base.txt
25+
- name: Check markdown format
26+
run: mdformat docs/
27+
- uses: parkerbxyz/suggest-changes@v1
28+
with:
29+
event: 'REQUEST_CHANGES'

0 commit comments

Comments
 (0)