Skip to content

Commit 0902705

Browse files
authored
Create sourcery.yml
1 parent a3bc56c commit 0902705

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/sourcery.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Check PR using Sourcery
2+
on: # yamllint disable-line rule:truthy
3+
pull_request:
4+
merge_group:
5+
branches:
6+
- main
7+
types:
8+
- checks_requested
9+
push:
10+
branches:
11+
- main
12+
workflow_dispatch:
13+
permissions:
14+
contents: read
15+
review-with-sourcery:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
22+
- uses: actions/setup-python@v5
23+
with:
24+
python-version: "3.10"
25+
26+
- uses: sourcery-ai/action@v1
27+
with:
28+
token: ${{ secrets.SOURCERY_TOKEN }}

0 commit comments

Comments
 (0)