mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-08 09:55:42 +00:00
Without the label, issues would be closed regardless of the "do-not-close" label. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
26 lines
939 B
YAML
26 lines
939 B
YAML
name: Mark stale issues and pull requests
|
|
|
|
# Please refer to https://github.com/actions/stale/blob/master/action.yml
|
|
# to see all config knobs of the stale action.
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
jobs:
|
|
stale:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/stale@v1
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
stale-issue-message: 'This issue had no activity for 30 days. In the absence of activity or the "do-not-close" label, the issue will be automatically closed within 7 days.'
|
|
stale-pr-message: 'This pull request had no activity for 30 days. In the absence of activity or the "do-not-close" label, the pull request will be automatically closed within 7 days.'
|
|
stale-issue-label: 'stale-issue'
|
|
stale-pr-label: 'stale-pr'
|
|
days-before-stale: 30
|
|
days-before-close: 7
|
|
exempt-issue-label: 'do-not-close'
|
|
exempt-pr-label: 'do-not-close'
|