-
Notifications
You must be signed in to change notification settings - Fork 40
35 lines (31 loc) · 953 Bytes
/
Copy pathlint.yaml
File metadata and controls
35 lines (31 loc) · 953 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Run linting and suggest changes
on:
pull_request_target:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Check out trusted dependency manifests from the base branch
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.sha }}
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies from the base branch
run: |
pip install -r requirements/base.txt
- name: Check out the pull request head
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Check markdown format
run: mdformat docs/
- uses: parkerbxyz/suggest-changes@e24c62a5a3235e6090721c7b0355b825a3a4ba9a # v3.1.2
with:
event: 'REQUEST_CHANGES'