From 5a31b7d6fecf87545e24e9e4f8d1df885b479741 Mon Sep 17 00:00:00 2001 From: Aaron Liang <76561968+AaronL725@users.noreply.github.com> Date: Tue, 14 Jul 2026 20:45:26 +0800 Subject: [PATCH] chore: add temporary GUI CPA hook trigger v2 --- .github/workflows/temp-gui-cpa-hook-v2.yml | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/temp-gui-cpa-hook-v2.yml diff --git a/.github/workflows/temp-gui-cpa-hook-v2.yml b/.github/workflows/temp-gui-cpa-hook-v2.yml new file mode 100644 index 0000000..b4c4845 --- /dev/null +++ b/.github/workflows/temp-gui-cpa-hook-v2.yml @@ -0,0 +1,34 @@ +name: Temporary GUI CPA hook patch v2 + +on: + issues: + types: + - edited + +permissions: + contents: write + +jobs: + apply-upgrade: + if: github.event.issue.number == 7 + runs-on: ubuntu-latest + steps: + - name: Checkout main + uses: actions/checkout@v4 + with: + ref: main + fetch-depth: 0 + + - name: Apply GUI CPA hook v2 + run: python tools/apply_gui_cpa_hook_v2.py + + - name: Commit patch and clean temporary files + shell: bash + run: | + rm -f tools/apply_gui_cpa_hook_v2.py + rm -f .github/workflows/temp-gui-cpa-hook-v2.yml + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git add grok_register_ttk.py tools/apply_gui_cpa_hook_v2.py .github/workflows/temp-gui-cpa-hook-v2.yml + git commit -m "fix(auth): wire GUI CPA export hook" + git push origin HEAD:main