Browse Source

chore: auto merge branchs (#34595)

chore: sync master into feature
pull/34655/head
github-actions[bot] 3 years ago
committed by GitHub
parent
commit
6607417313
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      .github/workflows/chain-alert.yml
  2. 9
      .github/workflows/issue-open-check.yml
  3. 17
      .github/workflows/issues-similarity-analysis.yml
  4. 33
      .github/workflows/suggest-related-links.yml

12
.github/workflows/chain-alert.yml

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

9
.github/workflows/issue-open-check.yml

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

17
.github/workflows/issues-similarity-analysis.yml

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

33
.github/workflows/suggest-related-links.yml

@ -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…
Cancel
Save