Funkin/.github/label-actions.yml
2024-11-03 15:54:51 -05:00

104 lines
3 KiB
YAML

# Configuration for Label Actions - https://github.com/dessant/label-actions
# Automatically close issues and pull requests when the `status: duplicate` label is applied
'status: duplicate':
issues:
# Post a comment
comment: >
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'
- '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.
# 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'
- '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: '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'