From 34bfdf0ab71865a803f1e576c03bc47e74170ffe Mon Sep 17 00:00:00 2001 From: Aaron Liang <76561968+AaronL725@users.noreply.github.com> Date: Tue, 14 Jul 2026 18:37:31 +0800 Subject: [PATCH] chore: add temporary Cloud Mail issue trigger --- .../temp-cloudmail-issue-trigger.yml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/temp-cloudmail-issue-trigger.yml diff --git a/.github/workflows/temp-cloudmail-issue-trigger.yml b/.github/workflows/temp-cloudmail-issue-trigger.yml new file mode 100644 index 0000000..e2bde87 --- /dev/null +++ b/.github/workflows/temp-cloudmail-issue-trigger.yml @@ -0,0 +1,35 @@ +name: Temporary Cloud Mail issue trigger + +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 Cloud Mail upgrade + run: python tools/apply_cloudmail_upgrade.py + + - name: Commit upgrade and clean temporary files + shell: bash + run: | + rm -f tools/apply_cloudmail_upgrade.py + rm -f .github/workflows/temp-cloudmail-upgrade.yml + rm -f .github/workflows/temp-cloudmail-issue-trigger.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 config.example.json README.md tools/apply_cloudmail_upgrade.py .github/workflows/temp-cloudmail-upgrade.yml .github/workflows/temp-cloudmail-issue-trigger.yml + git commit -m "feat(mail): add optional Cloud Mail no-recipient provider" + git push origin HEAD:main