diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-10-17 15:50:13 +0200 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-10-17 15:50:13 +0200 |
commit | 7749ce4e3ac75aa54e237346e2369c91d5ceae98 (patch) | |
tree | 025a48f8de013ea460715d1885eb3d0f801cf6ed /.github/workflows/stale.yml | |
parent | 4707133fb6fdd27fa3147918b7cf8dec72b19e3d (diff) |
GitHub Actions: Add "stale" label to old issues/PRs
Diffstat (limited to '.github/workflows/stale.yml')
-rw-r--r-- | .github/workflows/stale.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000000..c415950fbd --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,18 @@ +name: "Detect stale issues" +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: "This issue is marked as stale because it has been open 90 days with no activity." + stale-issue-label: "stale" + stale-pr-message: "This PR is marked as stale because it has been open 90 days with no activity." + stale-pr-label: "stale" + days-before-stale: 90 + days-before-close: -1 |