|
| 1 | +# |
| 2 | +# Copyright 2022 The Dapr Authors |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | +# Unless required by applicable law or agreed to in writing, software |
| 8 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 9 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 10 | +# See the License for the specific language governing permissions and |
| 11 | +# limitations under the License. |
| 12 | +# |
| 13 | + |
| 14 | +name: stale-bot |
| 15 | + |
| 16 | +on: |
| 17 | + schedule: |
| 18 | + - cron: '*/10 * * * *' |
| 19 | + workflow_dispatch: |
| 20 | + |
| 21 | +jobs: |
| 22 | + prune_stale: |
| 23 | + name: Prune Stale |
| 24 | + runs-on: ubuntu-latest |
| 25 | + steps: |
| 26 | + - name: Prune Stale |
| 27 | + uses: actions/stale@v5.1.0 |
| 28 | + with: |
| 29 | + repo-token: ${{ secrets.GITHUB_TOKEN }} |
| 30 | + days-before-issue-stale: 60 |
| 31 | + days-before-pr-stale: 30 |
| 32 | + days-before-close: 7 |
| 33 | + stale-issue-message: > |
| 34 | + This issue has been automatically marked as stale because it has not had activity in the last 60 days. |
| 35 | + It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. |
| 36 | + Thank you for your contributions. |
| 37 | + close-issue-message: > |
| 38 | + This issue has been automatically closed because it has not had activity in the last 67 days. |
| 39 | + If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. |
| 40 | + Thank you for your contributions. |
| 41 | + stale-pr-message: > |
| 42 | + This pull request has been automatically marked as stale because it has not had activity in the last 30 days. |
| 43 | + It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. |
| 44 | + Thank you for your contributions! |
| 45 | + close-pr-message: > |
| 46 | + This pull request has been automatically closed because it has not had activity in the last 37 days. |
| 47 | + Please feel free to give a status update now, ping for review, or re-open when it's ready. |
| 48 | + Thank you for your contributions! |
| 49 | + stale-issue-label: 'stale' |
| 50 | + exempt-issue-labels: 'pinned, good first issue, help wanted, triaged/resolved, triaged/unresolved' |
| 51 | + stale-pr-label: 'stale' |
| 52 | + exempt-pr-labels: 'pinned' |
| 53 | + operations-per-run: 500 |
| 54 | + ascending: true |
0 commit comments