Skip to content

Commit e1075c6

Browse files
committed
ENH: enable style-guide checker action
1 parent fc2b0c2 commit e1075c6

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/style-guide.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Style Guide Checker
2+
on:
3+
issue_comment:
4+
types: [created]
5+
6+
jobs:
7+
review:
8+
if: contains(github.event.comment.body, '@quantecon-style-guide')
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
pull-requests: write
13+
issues: read
14+
steps:
15+
- uses: QuantEcon/action-style-guide@v0.1.0
16+
with:
17+
mode: 'single'
18+
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
19+
github-token: ${{ secrets.GITHUB_TOKEN }}
20+
comment-body: ${{ github.event.comment.body }}

0 commit comments

Comments
 (0)