Browse Source

chore: update boot

pull/10257/head
chenshuai2144 4 years ago
parent
commit
065c912d3d
  1. 2
      .github/ISSUE_TEMPLATE/feature_request.md
  2. 6
      .github/workflows/issue-open-check.yml
  3. 23
      .github/workflows/rebase.yml

2
.github/ISSUE_TEMPLATE/feature_request.md

@ -1,7 +1,7 @@
---
name: '功能需求 | Feature Requirements ✨'
about: 对 Ant Design Pro 的需求或建议
title: '👑 [需求]'
title: '👑 [需求 | Feature]'
labels: '👑 Feature Request'
assignees: ''
---

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

@ -13,7 +13,7 @@ jobs:
with:
actions: 'check-issue'
issue-number: ${{ github.event.issue.number }}
title-excludes: '🐛[BUG], 👑 [需求], 🧐[问题]'
title-excludes: '🐛 [BUG], 👑 [需求 | Feature], 🧐[问题 | question]'
- if: steps.check.outputs.check-result == 'false' && github.event.issue.state == 'open'
uses: actions-cool/issues-helper@v2.2.0
@ -28,7 +28,7 @@ jobs:
- if: steps.check.outputs.check-result == 'true'
uses: actions-cool/issues-similarity-analysis@v1
with:
filter-threshold: 0.5
title-excludes: '🐛[BUG], 👑 [需求], 🧐[问题]'
filter-threshold: 0.8
title-excludes: '🐛[BUG], 👑 [需求 | Feature], 🧐[问题 | question]'
comment-title: '### 以下的 Issues 可能会帮助到你 / The following issues may help you'
show-footer: false

23
.github/workflows/rebase.yml

@ -1,23 +0,0 @@
on:
issue_comment:
types: [created]
name: Automatic Rebase
permissions:
contents: read
jobs:
rebase:
permissions:
contents: write # for cirrus-actions/rebase to push code to rebase
pull-requests: read # for cirrus-actions/rebase to get info about PR
name: Rebase
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading…
Cancel
Save