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:
parent
0e38b0e54a
commit
008f00ba2f
8
.github/autolabeler.yml
vendored
8
.github/autolabeler.yml
vendored
@ -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']
|
|
||||||
|
30
.github/stale.yml
vendored
30
.github/stale.yml
vendored
@ -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
|
|
||||||
|
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: >
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user