diff --git a/.github/stale.yml b/.github/stale.yml index dc90e5a..e08938d 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -1,17 +1,31 @@ -# Number of days of inactivity before an issue becomes stale -daysUntilStale: 60 -# Number of days of inactivity before a stale issue is closed -daysUntilClose: 7 -# Issues with these labels will never be considered stale -exemptLabels: - - pinned - - security -# Label to use when marking an issue as stale -staleLabel: wontfix -# Comment to post when marking an issue as stale. Set to `false` to disable -markComment: > - 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 - for your contributions. -# Comment to post when closing a stale issue. Set to `false` to disable -closeComment: false +issues: + # Number of days of inactivity before an issue becomes stale + daysUntilStale: 90 + # Number of days of inactivity before a stale issue is closed + daysUntilClose: 7 + # Issues with these labels will never be considered stale + exemptLabels: + - pinned + - security + # Label to use when marking an issue as stale + staleLabel: wontfix + # Comment to post when marking an issue as stale. Set to `false` to disable + markComment: > + 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 + for your contributions. + # Comment to post when closing a stale issue. Set to `false` to disable + closeComment: false + +pulls: + # Number of days of inactivity before a pull request becomes stale + daysUntilStale: 90 + # Number of days of inactivity before a stale pull request is closed + daysUntilClose: 7 + # Comment to post when marking a pull request as stale. Set to `false` to disable + 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. + # Comment to post when closing a stale pull request. Set to `false` to disable + closeComment: false diff --git a/CHANGELOG.md b/CHANGELOG.md index fe8ab3e..644400d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ## Unreleased +### Fixed +- *[#27](https://github.com/idealista/cookiecutter-ansible-role/issues/27) Adding Probot configuration to Ansible Role template* @dortegau + +### Changed +- *[#27](https://github.com/idealista/cookiecutter-ansible-role/issues/27) Increase to 90 days the minimum days to declare a PR/Issue as `staled`* @dortegau + + ## [2.1.0](https://github.com/idealista/cookiecutter-ansible-role/tree/2.1.0) (2020-10-19) ## [Full Changelog](https://github.com/idealista/cookiecutter-ansible-role/compare/2.0.0...2.1.0) diff --git a/{{cookiecutter.app_name}}_role/.github/stale.yml b/{{cookiecutter.app_name}}_role/.github/stale.yml new file mode 100644 index 0000000..e08938d --- /dev/null +++ b/{{cookiecutter.app_name}}_role/.github/stale.yml @@ -0,0 +1,31 @@ +issues: + # Number of days of inactivity before an issue becomes stale + daysUntilStale: 90 + # Number of days of inactivity before a stale issue is closed + daysUntilClose: 7 + # Issues with these labels will never be considered stale + exemptLabels: + - pinned + - security + # Label to use when marking an issue as stale + staleLabel: wontfix + # Comment to post when marking an issue as stale. Set to `false` to disable + markComment: > + 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 + for your contributions. + # Comment to post when closing a stale issue. Set to `false` to disable + closeComment: false + +pulls: + # Number of days of inactivity before a pull request becomes stale + daysUntilStale: 90 + # Number of days of inactivity before a stale pull request is closed + daysUntilClose: 7 + # Comment to post when marking a pull request as stale. Set to `false` to disable + 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. + # Comment to post when closing a stale pull request. Set to `false` to disable + closeComment: false