From 9b596f3779b70f1a48320c873f536cadc2b4da2b Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 25 Aug 2025 14:54:17 +1000 Subject: [PATCH 1/3] [TST] ENH: enable quantecon AI style checker --- .github/workflows/syle-checker.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/syle-checker.yml diff --git a/.github/workflows/syle-checker.yml b/.github/workflows/syle-checker.yml new file mode 100644 index 00000000..b4faf164 --- /dev/null +++ b/.github/workflows/syle-checker.yml @@ -0,0 +1,19 @@ +name: Style Guide Review (Automatic) +on: + pull_request: + paths: + - 'lectures/**/*.md' +jobs: + style-check: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Run style guide checker + uses: QuantEcon/meta/.github/actions/style-guide-checker@copilot/fix-204 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + openai-api-key: ${{ secrets.OPENAI_API_KEY }} + docs: 'lectures' + mode: 'pr' \ No newline at end of file From 77b0c7365d3b2f8db23b3e2c926554ca791bf4d6 Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 25 Aug 2025 14:57:02 +1000 Subject: [PATCH 2/3] [orth_proj] trigger edit on file --- lectures/orth_proj.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lectures/orth_proj.md b/lectures/orth_proj.md index f9a88298..de577300 100644 --- a/lectures/orth_proj.md +++ b/lectures/orth_proj.md @@ -23,6 +23,8 @@ kernelspec: ```{index} single: Orthogonal Projection ``` +TEST TRIGGER EDIT + ## Overview Orthogonal projection is a cornerstone of vector space methods, with many diverse applications. From 1e1be931677f5941567dc15ce9242d3a7e18d70c Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 25 Aug 2025 15:03:25 +1000 Subject: [PATCH 3/3] update style-guide location --- .github/workflows/syle-checker.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/syle-checker.yml b/.github/workflows/syle-checker.yml index b4faf164..c606586a 100644 --- a/.github/workflows/syle-checker.yml +++ b/.github/workflows/syle-checker.yml @@ -13,6 +13,7 @@ jobs: - name: Run style guide checker uses: QuantEcon/meta/.github/actions/style-guide-checker@copilot/fix-204 with: + style-guide: 'https://github.com/QuantEcon/meta/blob/main/.github/copilot-qe-style-guide.md' github-token: ${{ secrets.GITHUB_TOKEN }} openai-api-key: ${{ secrets.OPENAI_API_KEY }} docs: 'lectures'