1
0
mirror of https://github.com/tomav/docker-mailserver.git synced 2024-06-30 13:11:15 +02:00
docker-mailserver/.github/workflows/handle_stalled.yml
2021-11-15 21:00:25 +01:00

35 lines
1.2 KiB
YAML

name: "Handled Stalled Issues & PRs"
on:
schedule:
- cron: "0 1 * * *"
jobs:
stale:
runs-on: ubuntu-20.04
steps:
- name: Close stale issues
uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 20
days-before-close: 10
exempt-issue-labels: "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. Remove the label and comment or this issue will be closed in 10 days.
close-issue-label: "meta/closed due to age or inactivity"
close-issue-message: >
This issue was closed due to inactivity.
exempt-pr-labels: "bot/ignore"
stale-pr-label: "meta/stale"
stale-pr-message: >
This PR has become stale because it has been open for 20 days without
activity. Remove the label and comment or this PR will be closed in 10 days.
close-pr-label: "meta/closed due to age or inactivity"
closed-pr-message: >
This PR was closed due to inactivity.