agones.dev/agones@v1.53.0/.github/workflows/obsolete.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 'obsolete' label to issues that have had no activity for 60 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 issues obsolete 20 on: 21 schedule: 22 - cron: 0 2 1,15 * * 23 workflow_dispatch: 24 jobs: 25 stale: 26 runs-on: ubuntu-latest 27 permissions: 28 issues: write 29 name: Track Obsolete Issues 30 steps: 31 - name: Track stale issues and check if obsolete 32 uses: actions/stale@v8 33 with: 34 repo-token: ${{ secrets.GITHUB_TOKEN }} 35 days-before-issue-stale: 30 36 stale-issue-message: > 37 This issue is marked as obsolete due to inactivity for last 60 days. To 38 avoid issue getting closed in next 30 days, please add a comment or add 39 'awaiting-maintainer' label. Thank you for your contributions 40 stale-issue-label: obsolete 41 only-labels: stale 42 labels-to-remove-when-unstale: stale,obsolete 43 exempt-issue-labels: awaiting-maintainer 44 remove-stale-when-updated: true 45 ascending: true 46 enable-statistics: true