Stale issues and pull requests #114
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration for https://github.com/actions/stale | |
name: "Stale issues and pull requests" | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: >- | |
Thanks for your contribution! | |
This issue has been automatically marked as stale because it has not had | |
activity in the last 30 days. Note that the issue will not be automatically | |
closed, but this notification will remind us to investigate why there's | |
been inactivity. Thank you for participating in the Datadog open source community. | |
If you would like this issue to remain open: | |
1. Verify that you can still reproduce the issue in the latest version of this project. | |
1. Comment that the issue is still reproducible and include updated details requested in the issue template. | |
days-before-stale: 30 | |
days-before-close: 99999 | |
days-before-pr-close: 90 | |
stale-issue-label: "stale" | |
exempt-issue-labels: "stale/exempt" | |
stale-pr-message: >- | |
This PR has been automatically marked as stale because it has not had activity in the last 30 days. | |
If there is no activity for another 90 days, this issue will be automatically closed. | |
stale-pr-label: "stale" | |
exempt-pr-labels: "stale/exempt" | |
delete-branch: true |