[AutoComplete ] 输入文字,当联想词出现时,点击回车,文字会消失(猜测是因为此时没有选中任何联想词,但也不应该让源文本消失) #2969
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 -->" |