mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
ci: remove w_unverified_labeler workflow. remove w-unverified, w-verified, w-pending in favor of no-stale. remove no-issue-activity, no-pr-activity in favor of "stale" (#5212)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: Bug Report
|
||||
description: Found a bug? Help us squash it.
|
||||
title: '[Bug]: '
|
||||
labels: ['t-bug', 'w-unverified']
|
||||
labels: ['t-bug']
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
|
||||
@@ -17,15 +17,3 @@ jobs:
|
||||
- uses: fuxingloh/multi-labeler@v5
|
||||
with:
|
||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
w_unverified_labeler:
|
||||
name: Add w-unverified Label
|
||||
if: ${{ !(github.event_name == 'pull_request_target' && (github.event.action == 'edited' || github.event.action == 'synchronize' )) && !(github.event_name == 'issues' && contains(github.event.issue.labels.*.name, 'api-docs-commits')) && github.actor != 'dependabot[bot]'}}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: gh issue edit "$NUMBER" --add-label "$LABELS"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GH_REPO: ${{ github.repository }}
|
||||
NUMBER: ${{ github.event.pull_request.number || github.event.issue.number }}
|
||||
LABELS: w-unverified
|
||||
|
||||
@@ -20,9 +20,8 @@ jobs:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
stale-issue-message: 'This issue has gone stale for over a month. If this issue is useful, leave a comment below. Otherwise, it will be closed shortly.'
|
||||
stale-pr-message: 'This pull request has gone stale for over a month. If this pull request is still useful, leave a comment below. Otherwise, it will be closed shortly.'
|
||||
stale-issue-label: 'no-issue-activity'
|
||||
stale-pr-label: 'no-pr-activity'
|
||||
only-labels: 'w-unverified'
|
||||
exempt-issue-labels: 'api-docs-commits,help-wanted,w-verified,w-pending'
|
||||
exempt-pr-labels: 'w-verified'
|
||||
stale-issue-label: 'stale'
|
||||
stale-pr-label: 'stale'
|
||||
exempt-issue-labels: 'api-docs-commits,help-wanted,no-stale'
|
||||
exempt-pr-labels: 'no-stale'
|
||||
close-issue-reason: 'not_planned'
|
||||
|
||||
Reference in New Issue
Block a user