[tdesign-starter-cli] 最新版本(0.6.2)已经不支持node14,最低要求16,但是官网写的最低node12 #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# force copy from tencent/tdesign | |
name: Issue Add Assigness | |
on: | |
issues: | |
types: [opened, edited] | |
jobs: | |
mark-duplicate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: wow-actions/auto-comment@v1 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
issuesOpened: | | |
👋 @{{ author }},感谢给 TDesign 提出了 issue。 | |
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。 | |
# https://docs.github.com/cn/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#issues | |
- uses: 94dreamer/issue-assignees@main | |
id: assignees | |
with: | |
project_name: ${{github.event.repository.name}} | |
issue_title: ${{github.event.issue.title}} | |
- run: echo ${{ steps.assignees.outputs.contributors }} | |
- name: Add assigness | |
if: steps.assignees.outputs.contributors != '' | |
uses: actions-cool/issues-helper@v3 | |
with: | |
actions: 'add-assignees' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
issue-number: ${{ github.event.issue.number }} | |
assignees: ${{ steps.assignees.outputs.contributors }} | |
- run: | | |
contributors=${{ steps.assignees.outputs.contributors }} | |
contributorstring=${contributors//,/ @} | |
echo "::set-output name=string::@$contributorstring" | |
id: contributors | |
- name: 通知贡献者 | |
if: steps.assignees.outputs.contributors != '' | |
uses: actions-cool/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
body: | | |
♥️ 有劳 ${{ steps.contributors.outputs.string }} 尽快确认问题。 | |
确认有效后将下一步计划和可能需要的时间回复给 @${{ github.event.issue.user.login }} 。 | |
<!-- AUTO_ASSIGENEES_NOTIFY_HOOK --> | |
number: ${{ github.event.issue.number }} | |
body-include: "<!-- AUTO_ASSIGENEES_NOTIFY_HOOK -->" |