Update auto labeller and stale bot for issues and PRs (#631)

* Update message when closing stale issues with the correct duration

* Update autolabeller to correctly label

* Reformat the stale yml and change daysUntilClose to 14
This commit is contained in:
Elena 2022-12-21 22:01:35 +02:00 committed by GitHub
parent 0e38b0e54a
commit 008f00ba2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 21 deletions

View File

@ -1,6 +1,2 @@
python: ['python-packages'] documentation: ['docs']
contracts: ['contracts'] liquidity integrations: ['contracts/zero-ex/contracts/src/transformers']
@0x/contract-addresses: ['packages/contract-addresses']
@0x/order-utils: ['packages/order-utils']
@0x/contract-artifacts: ['packages/contract-artifacts']
@0x/contract-wrappers: ['packages/contract-wrappers']

32
.github/stale.yml vendored
View File

@ -1,19 +1,21 @@
# Number of days of inactivity before an issue becomes stale # Label to use when marking an issue or PR as stale
daysUntilStale: 30
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 30
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: stale staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: > pulls:
daysUntilStale: 30
daysUntilClose: 14
markComment: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
issues:
daysUntilStale: 30
daysUntilClose: 14
markComment: >
This issue has been automatically marked as stale because it has not had This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you recent activity. It will be closed if no further activity occurs. Thank you
for your contributions. for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable exemptLabels:
closeComment: > - bug
This issue has been automatically closed because no activity occured in 7 days after being marked as stale. If it's still relevant - feel free to reopen. Thank you - enhancement
for your contributions. - feature
- question