chore: auto merge branchs (#34595)

chore: sync master into feature
This commit is contained in:
github-actions[bot] 2022-03-19 11:56:59 +00:00 committed by GitHub
commit 6607417313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 45 deletions

View File

@ -1,12 +0,0 @@
name: ChainAlert
on:
schedule:
- cron: '0 0 * * *'
push:
branches: [ master ]
jobs:
chainalert:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: checkmarx/chainalert-github-action@v1

View File

@ -77,3 +77,12 @@ jobs:
issue-number: ${{ github.event.issue.number }}
body: |
Hello @${{ github.event.issue.user.login }}, v4 only support IE11 and above.
- name: send to dingtalk
uses: visiky/dingtalk-release-notify@main
with:
DING_TALK_TOKEN: ${{ secrets.DINGDING_BOT_TOKEN }}
notify_title: '🔥 @${{ github.event.issue.user.login }} 创建了 issue${{ github.event.issue.title }}'
notify_body: '### 🔥 @${{ github.event.issue.user.login }} 创建了 issue[${{ github.event.issue.title }}](${{ github.event.issue.html_url }}) <hr /> ${{ github.event.issue.body }}'
notify_footer: '> 💬 欢迎前往 GitHub 进行讨论,社区可能需要你的帮助。'
at_all: false # whether to ding everybody

View File

@ -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}'

View File

@ -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