chore(deps): update actions-cool/issues-helper action to v3 (#6058)

This commit is contained in:
renovate[bot] 2022-03-15 05:07:41 +08:00 committed by GitHub
parent c04d41026e
commit b956223895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 30 deletions

View File

@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: mark-duplicate
uses: actions-cool/issues-helper@v2
uses: actions-cool/issues-helper@v3
with:
actions: 'mark-duplicate'
token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -11,14 +11,14 @@ jobs:
if: ${{ github.repository_owner == 'element-plus' }}
steps:
- name: need reproduction
uses: actions-cool/issues-helper@v2
uses: actions-cool/issues-helper@v3
with:
actions: 'close-issues'
labels: 'need reproduction'
inactive-day: 3
- name: needs more info
uses: actions-cool/issues-helper@v2
uses: actions-cool/issues-helper@v3
with:
actions: 'close-issues'
labels: 'needs more info'
@ -32,23 +32,23 @@ jobs:
if: ${{ github.repository_owner == 'element-plus' }}
steps:
- name: lock-issues
uses: actions-cool/issues-helper@v2
uses: actions-cool/issues-helper@v3
with:
actions: 'lock-issues'
token: ${{ secrets.GITHUB_TOKEN }}
issue-state: closed
inactive-day: 30
# body: |
# This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
body: |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
# 此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug请重新创建一个新 issue。
此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug请重新创建一个新 issue。
check-inactive:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'element-plus' }}
steps:
- name: check-inactive
uses: actions-cool/issues-helper@v2
uses: actions-cool/issues-helper@v3
with:
actions: 'check-inactive'
inactive-day: 30

View File

@ -10,7 +10,7 @@ jobs:
steps:
- name: contribution welcome
if: github.event.label.name == 'contribution welcome' || github.event.label.name == 'help wanted'
uses: actions-cool/issues-helper@v2
uses: actions-cool/issues-helper@v3
with:
actions: 'create-comment'
issue-number: ${{ github.event.issue.number }}
@ -21,7 +21,7 @@ jobs:
- name: need reproduction
if: github.event.label.name == 'need reproduction'
uses: actions-cool/issues-helper@v2
uses: actions-cool/issues-helper@v3
with:
actions: 'create-comment'
issue-number: ${{ github.event.issue.number }}
@ -32,7 +32,7 @@ jobs:
- name: invalid
if: github.event.label.name == 'invalid'
uses: actions-cool/issues-helper@v2
uses: actions-cool/issues-helper@v3
with:
actions: 'create-comment, close-issue'
issue-number: ${{ github.event.issue.number }}

View File

@ -15,7 +15,7 @@ jobs:
- name: check invalid
if: (contains(github.event.issue.body, '<!-- generated by') == false) && (steps.checkUser.outputs.require-result == 'false')
uses: actions-cool/issues-helper@v2
uses: actions-cool/issues-helper@v3
with:
actions: 'create-comment,add-labels,close-issue'
issue-number: ${{ github.event.issue.number }}

View File

@ -12,7 +12,7 @@ jobs:
steps:
- name: remove inactive
if: github.event.issue.state == 'open' && github.actor == github.event.issue.user.login
uses: actions-cool/issues-helper@v2
uses: actions-cool/issues-helper@v3
with:
actions: 'remove-labels'
issue-number: ${{ github.event.issue.number }}

View File

@ -1,17 +0,0 @@
name: Issue Month Statistics
on:
schedule:
- cron: '0 1 1 * *'
jobs:
month-statistics:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'element-plus' }}
steps:
- name: month-statistics
uses: actions-cool/issues-helper@v2
with:
actions: 'month-statistics'
token: ${{ secrets.GITHUB_TOKEN }}
count-lables: 'true'