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. This issue is a duplicate. Please direct all discussion to the original issue.
# Close the issue # Close the issue
close: true close: true
# Remove other status labels
unlabel:
- 'status: pending triage'
# Set a close reason # Set a close reason
close-reason: 'not planned' 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: prs:
# Post a comment # Post a comment
comment: > comment: >
This pull request is a duplicate. Please direct all discussion to the original pull request. 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 the pull request
close: true close: true
# Set a close reason # Set a close reason
close-reason: 'not planned' 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': 'status: rejected':
issues: issues:
# Close the issue # Close the issue
close: true close: true
# Remove other status labels
unlabel:
- 'status: pending triage'
# Set a close reason # Set a close reason
close-reason: 'not planned' 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: prs:
# Close the pull request # Close the pull request
close: true close: true
# Remove other status labels
unlabel:
- 'status: pending triage'
# Set a close reason # Set a close reason
close-reason: 'not planned' 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'