elharo commented on code in PR #148: URL: https://github.com/apache/maven-gh-actions-shared/pull/148#discussion_r1949706448
########## README.md: ########## @@ -372,6 +372,57 @@ Labels list are in file: [./.github/labels.js](https://github.com/apache/maven-g Action require GitHub token which will be used for performing updates. Please create new [Personal access tokens (classic)](https://github.com/settings/tokens) with `repo` scope. +# Management of stale issues and PRs + +We need an action in project: + +```yml +.github/workflows/stale.yml +``` + +with body: + +```yml +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +name: Stale + +on: + schedule: + - cron: '15 3 * * *' + issue_comment: + types: [ 'created' ] + +jobs: + stale: + uses: 'apache/maven-gh-actions-shared/.github/workflows/stale.yml@v4' + +``` + +The cron time definition can be randomly changed to avoid executing in the same time in all project. + +## Issues and PRs with waiting-for-feedback label + +- will mark as stale after 60 days +- will close after next 30 days Review Comment: Will be closed ########## README.md: ########## @@ -372,6 +372,57 @@ Labels list are in file: [./.github/labels.js](https://github.com/apache/maven-g Action require GitHub token which will be used for performing updates. Please create new [Personal access tokens (classic)](https://github.com/settings/tokens) with `repo` scope. +# Management of stale issues and PRs + +We need an action in project: + +```yml +.github/workflows/stale.yml +``` + +with body: + +```yml +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +name: Stale + +on: + schedule: + - cron: '15 3 * * *' + issue_comment: + types: [ 'created' ] + +jobs: + stale: + uses: 'apache/maven-gh-actions-shared/.github/workflows/stale.yml@v4' + +``` + +The cron time definition can be randomly changed to avoid executing in the same time in all project. Review Comment: at the same time ########## README.md: ########## @@ -372,6 +372,57 @@ Labels list are in file: [./.github/labels.js](https://github.com/apache/maven-g Action require GitHub token which will be used for performing updates. Please create new [Personal access tokens (classic)](https://github.com/settings/tokens) with `repo` scope. +# Management of stale issues and PRs + +We need an action in project: + +```yml +.github/workflows/stale.yml +``` + +with body: + +```yml +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +name: Stale + +on: + schedule: + - cron: '15 3 * * *' + issue_comment: + types: [ 'created' ] + +jobs: + stale: + uses: 'apache/maven-gh-actions-shared/.github/workflows/stale.yml@v4' + +``` + +The cron time definition can be randomly changed to avoid executing in the same time in all project. + +## Issues and PRs with waiting-for-feedback label + +- will mark as stale after 60 days Review Comment: Will be marked as -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org