Make label actions more convenient (#3771)

This commit is contained in:
Hundrec 2024-11-03 12:54:51 -08:00 committed by GitHub
parent c0b15ec066
commit 79188b06f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,37 +8,97 @@
This issue is a duplicate. Please direct all discussion to the original issue.
# Close the issue
close: true
# Remove other status labels
unlabel:
- 'status: pending triage'
# 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'
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
# Remove other status labels
unlabel:
- 'status: pending triage'
# 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'
prs:
# Close the pull request
close: true
# Remove other status labels
unlabel:
- 'status: pending triage'
# 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: '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'