Skip to content

Commit 99a8707

Browse files
committed
Add Sourcery CI workflow
Signed-off-by: Artiom Divak <adivak@redhat.com>
1 parent 29830da commit 99a8707

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/sourcery.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Sourcery Code Review
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
sourcery:
10+
name: Sourcery Review
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Check out code
14+
uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 0
17+
18+
- name: Run Sourcery
19+
uses: sourcery-ai/action@v1
20+
with:
21+
args: review tools
22+
token: ${{ secrets.GITHUB_TOKEN }}
23+
fail_on_issues: true

0 commit comments

Comments
 (0)