Browse Source
* chore: add Issues Similarity Analysis action * Delete suggest-related-links.yml * Create issue-sync-dingtalk.yml * Update issue-sync-dingtalk.yml * Update issue-sync-dingtalk.yml * Update issue-sync-dingtalk.yml * Update issues-similarity-analysis.ymlpull/34589/head
afc163
3 years ago
committed by
GitHub
3 changed files with 34 additions and 33 deletions
@ -0,0 +1,17 @@ |
|||||
|
name: DingTalk Issues Notify |
||||
|
|
||||
|
on: |
||||
|
issues: |
||||
|
types: [created] |
||||
|
|
||||
|
jobs: |
||||
|
build: |
||||
|
runs-on: ubuntu-latest |
||||
|
steps: |
||||
|
- uses: visiky/dingtalk-release-notify@main |
||||
|
with: |
||||
|
DING_TALK_TOKEN: ${{ secrets.DINGDING_BOT_TOKEN }} |
||||
|
notify_title: '🔥 @${{ github.event.issue.user.login }} 创建了 issue:{ title }' |
||||
|
notify_body: '{ body }' |
||||
|
notify_footer: '> 💬 欢迎前往 [**Ant Design GitHub Issues**]({ github.event.issue.url }) 进行讨论。' |
||||
|
at_all: false # whether to ding everybody |
@ -0,0 +1,17 @@ |
|||||
|
name: Issues Similarity Analysis |
||||
|
|
||||
|
on: |
||||
|
issues: |
||||
|
types: [opened, edited] |
||||
|
|
||||
|
jobs: |
||||
|
similarity-analysis: |
||||
|
runs-on: ubuntu-latest |
||||
|
steps: |
||||
|
- name: analysis |
||||
|
uses: actions-cool/issues-similarity-analysis@v1.0.0 |
||||
|
with: |
||||
|
filter-threshold: 0.5 |
||||
|
title-excludes: '' |
||||
|
comment-title: '### You may look for issues:' |
||||
|
comment-body: '${index}. ${similarity} #${number}' |
@ -1,33 +0,0 @@ |
|||||
name: 'Suggest Related Links' |
|
||||
|
|
||||
on: |
|
||||
issues: |
|
||||
types: |
|
||||
- opened |
|
||||
- edited |
|
||||
workflow_dispatch: |
|
||||
schedule: |
|
||||
- cron: '13 13 * * */7' |
|
||||
|
|
||||
jobs: |
|
||||
suggest-related-links: |
|
||||
runs-on: ubuntu-18.04 |
|
||||
steps: |
|
||||
- name: Cache dependencies |
|
||||
uses: actions/cache@v2 |
|
||||
with: |
|
||||
path: ~/actions-suggest-related-links-tmp |
|
||||
key: ${{ runner.os }}-action-${{ hashFiles('~/actions-suggest-related-links-tmp/training-data.json') }} |
|
||||
restore-keys: | |
|
||||
${{ runner.os }}-action- |
|
||||
|
|
||||
- uses: peaceiris/actions-suggest-related-links@v1 |
|
||||
- uses: peaceiris/actions-suggest-related-links/models/fasttext@v1 |
|
||||
if: github.event_name == 'issues' |
|
||||
with: |
|
||||
version: v1 |
|
||||
- uses: peaceiris/actions-suggest-related-links@v1 |
|
||||
with: |
|
||||
mode: 'suggest' |
|
||||
repository: 'peaceiris/actions-gh-pages' |
|
||||
unclickable: true |
|
Loading…
Reference in new issue