chore: add temporary GUI CPA hook trigger

This commit is contained in:
Aaron Liang
2026-07-14 20:44:17 +08:00
parent 2faa38fb87
commit 71ae1c4805
+34
View File
@@ -0,0 +1,34 @@
name: Temporary GUI CPA hook patch
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
run: python tools/apply_gui_cpa_hook.py
- name: Commit patch and clean temporary files
shell: bash
run: |
rm -f tools/apply_gui_cpa_hook.py
rm -f .github/workflows/temp-gui-cpa-hook.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.py .github/workflows/temp-gui-cpa-hook.yml
git commit -m "fix(auth): add missing GUI CPA export hook"
git push origin HEAD:main