agones.dev/agones@v1.53.0/.github/workflows/stale.yaml (about) 1 --- 2 # Licensed under the Apache License, Version 2.0 (the "License"); 3 # you may not use this file except in compliance with the License. 4 # You may obtain a copy of the License at 5 # 6 # http://www.apache.org/licenses/LICENSE-2.0 7 # 8 # Unless required by applicable law or agreed to in writing, software 9 # distributed under the License is distributed on an "AS IS" BASIS, 10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 # See the License for the specific language governing permissions and 12 # limitations under the License. 13 # 14 # This workflow applies stale label to issues that have had no activity for atleast 30 days. 15 # 16 # You can adjust the behavior by modifying this file. 17 # For more information, see: 18 # https://github.com/actions/stale 19 name: Mark stale 20 on: 21 workflow_dispatch: 22 schedule: 23 - cron: 0 10 1,15 * * 24 jobs: 25 stale: 26 runs-on: ubuntu-latest 27 permissions: 28 issues: write 29 name: stale issues 30 steps: 31 - name: Stale issues 32 uses: actions/stale@v8 33 with: 34 repo-token: ${{ secrets.GITHUB_TOKEN }} 35 days-before-issue-stale: 30 36 days-before-issue-close: 60 37 stale-issue-message: > 38 'This issue is marked as Stale due to inactivity for more than 30 days. To 39 avoid being marked as 'stale' please add 'awaiting-maintainer' label or 40 add a comment. Thank you for your contributions ' 41 stale-issue-label: stale 42 exempt-issue-labels: awaiting-maintainer, obsolete 43 ascending: true 44 enable-statistics: true 45 labels-to-remove-when-unstale: stale,obsolete