summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-10-29 14:22:53 +0100
committerGitHub <noreply@github.com>2019-10-29 14:22:53 +0100
commit25f1b1540a700a80904cf0b2862a73da03200bb9 (patch)
tree3ec3a5a1bb590b76bf849f9a9ab4c3bc737b763b
parent8e264ca57249ce53fe689d3c86f4a1480f71d393 (diff)
parent52e5c4b460b80f74db8a487cf8f5dbc7c1c9d32a (diff)
downloadpodman-25f1b1540a700a80904cf0b2862a73da03200bb9.tar.gz
podman-25f1b1540a700a80904cf0b2862a73da03200bb9.tar.bz2
podman-25f1b1540a700a80904cf0b2862a73da03200bb9.zip
Merge pull request #4356 from containers/vrothberg-stale
GitHub stale action
-rw-r--r--.github/workflows/stale.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644
index 000000000..44cb82ff0
--- /dev/null
+++ b/.github/workflows/stale.yml
@@ -0,0 +1,25 @@
+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-pr-label: 'do-not-close'