From e1075c611b5c6fdf0f8229bd5844631870f9de17 Mon Sep 17 00:00:00 2001 From: mmcky Date: Wed, 1 Oct 2025 15:55:08 +1000 Subject: [PATCH] ENH: enable style-guide checker action --- .github/workflows/style-guide.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/style-guide.yml diff --git a/.github/workflows/style-guide.yml b/.github/workflows/style-guide.yml new file mode 100644 index 00000000..cb5ceecd --- /dev/null +++ b/.github/workflows/style-guide.yml @@ -0,0 +1,20 @@ +name: Style Guide Checker +on: + issue_comment: + types: [created] + +jobs: + review: + if: contains(github.event.comment.body, '@quantecon-style-guide') + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + issues: read + steps: + - uses: QuantEcon/action-style-guide@v0.1.0 + with: + mode: 'single' + anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }} + github-token: ${{ secrets.GITHUB_TOKEN }} + comment-body: ${{ github.event.comment.body }} \ No newline at end of file