From 8fb16444a87ee643855dcc7c80e746205ba1a2d7 Mon Sep 17 00:00:00 2001 From: sa03 <303914098@qq.com> Date: Mon, 17 Jun 2024 17:55:30 +0800 Subject: [PATCH] chore(workflow): add issue synchronize --- .github/workflows/issue-synchronize.temp.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/issue-synchronize.temp.yml diff --git a/.github/workflows/issue-synchronize.temp.yml b/.github/workflows/issue-synchronize.temp.yml new file mode 100644 index 0000000..04f79db --- /dev/null +++ b/.github/workflows/issue-synchronize.temp.yml @@ -0,0 +1,17 @@ +# force copy from tencent/tdesign +name: Issue Synchronize + +on: + issues: + types: [opened, reopened] + +jobs: + synchronize: + runs-on: ubuntu-latest + steps: + # https://docs.github.com/cn/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues + - uses: TDesignOteam/create-report@main + with: + wxhook: ${{ secrets.WX_HOOK_URL }} + token: ${{ secrets.GITHUB_TOKEN }} + type: 'issue' \ No newline at end of file