docker-mailserver/.github/workflows/handle_stalled.yml
dependabot[bot] 2da80bd5be
chore(deps): Bump actions/stale from 5 to 6 (#2800)
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 6.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 21:39:07 +02:00

47 lines
1.6 KiB
YAML

name: "Handle Stale Issues & Pull Requests"
on:
schedule:
- cron: "0 1 * * *"
permissions:
contents: read
jobs:
stale:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-20.04
steps:
- name: Close stale issues
uses: actions/stale@v6
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 20
days-before-close: 10
exempt-issue-labels: stale-bot/ignore
stale-issue-label: meta/stale
stale-issue-message: |
This issue has become stale because it has been open for 20 days without activity.
This issue will be closed in 10 days automatically unless:
- a maintainer removes the `meta/stale` label or adds the `stale-bot/ignore` label
- new activity occurs, such as a new comment
close-issue-label: "meta/closed due to age or inactivity"
close-issue-message: >
This issue was closed due to inactivity.
exempt-pr-labels: stale-bot/ignore
stale-pr-label: meta/stale
stale-pr-message: |
This pull request has become stale because it has been open for 20 days without activity.
This pull request will be closed in 10 days automatically unless:
- a maintainer removes the `meta/stale` label or adds the `stale-bot/ignore` label
- new activity occurs, such as a new comment
close-pr-label: "meta/closed due to age or inactivity"
close-pr-message: >
This PR was closed due to inactivity.