github.com/verrazzano/verrazzano@v1.7.0/.github/workflows/stale.yml (about) 1 # Copyright (c) 2023, Oracle and/or its affiliates. 2 # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. 3 # 4 # This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time. 5 # 6 # You can adjust the behavior by modifying this file. 7 # For more information, see: 8 # https://github.com/actions/stale 9 10 name: Mark stale issues and pull requests 11 12 on: 13 schedule: 14 - cron: '35 22 * * *' 15 16 jobs: 17 stale: 18 19 runs-on: ubuntu-latest 20 permissions: 21 contents: write # only for delete-branch option 22 issues: write 23 pull-requests: write 24 25 steps: 26 - uses: actions/stale@v7.0.0 27 with: 28 repo-token: ${{ secrets.GITHUB_TOKEN }} 29 stale-issue-message: 'Stale issue message' 30 stale-pr-message: 'Stale pull request message' 31 stale-issue-label: 'no-issue-activity' 32 stale-pr-label: 'no-pr-activity' 33 delete-branch: true