Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more functionality to label actions #3771

Merged
merged 1 commit into from
Nov 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 68 additions & 8 deletions .github/label-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,37 +8,97 @@
This issue is a duplicate. Please direct all discussion to the original issue.
# Close the issue
close: true
# Set a close reason
close-reason: 'not planned'
# Remove other status labels
unlabel:
- 'status: accepted'
- 'status: bug reproduced'
- 'status: cannot reproduce'
- 'status: needs clarification'
- 'status: needs revision'
- 'status: pending pull request'
- 'status: pending triage'
# Set a close reason
close-reason: 'not planned'
- 'status: rejected'
- 'status: resolved'
- 'status: reviewing internally'
- 'status: stale'
prs:
# Post a comment
comment: >
This pull request is a duplicate. Please direct all discussion to the original pull request.
# Remove other status labels
unlabel:
- 'status: pending triage'
# Close the pull request
close: true
# Set a close reason
close-reason: 'not planned'
# Remove other status labels
unlabel:
- 'status: accepted'
- 'status: bug reproduced'
- 'status: cannot reproduce'
- 'status: needs clarification'
- 'status: needs revision'
- 'status: pending pull request'
- 'status: pending triage'
- 'status: rejected'
- 'status: resolved'
- 'status: reviewing internally'
- 'status: stale'

'status: rejected':
issues:
# Close the issue
close: true
# Set a close reason
close-reason: 'not planned'
# Remove other status labels
unlabel:
- 'status: accepted'
- 'status: bug reproduced'
- 'status: cannot reproduce'
- 'status: duplicate'
- 'status: needs clarification'
- 'status: needs revision'
- 'status: pending pull request'
- 'status: pending triage'
# Set a close reason
close-reason: 'not planned'
- 'status: resolved'
- 'status: reviewing internally'
- 'status: stale'
prs:
# Close the pull request
close: true
# Set a close reason
close-reason: 'not planned'
# Remove other status labels
unlabel:
- 'status: accepted'
- 'status: bug reproduced'
- 'status: cannot reproduce'
- 'status: duplicate'
- 'status: needs clarification'
- 'status: needs revision'
- 'status: pending pull request'
- 'status: pending triage'
- 'status: resolved'
- 'status: reviewing internally'
- 'status: stale'

'status: resolved':
issues:
# Close the issue
close: true
# Set a close reason
close-reason: 'not planned'
close-reason: 'completed'
# Remove other status labels
unlabel:
- 'status: accepted'
- 'status: bug reproduced'
- 'status: cannot reproduce'
- 'status: duplicate'
- 'status: needs clarification'
- 'status: needs revision'
- 'status: pending pull request'
- 'status: pending triage'
- 'status: rejected'
- 'status: reviewing internally'
- 'status: stale'
Loading