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