summaryrefslogtreecommitdiffstats
path: root/fluent-bit/.github/workflows/cron-stale.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-09 13:19:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-09 13:20:02 +0000
commit58daab21cd043e1dc37024a7f99b396788372918 (patch)
tree96771e43bb69f7c1c2b0b4f7374cb74d7866d0cb /fluent-bit/.github/workflows/cron-stale.yaml
parentReleasing debian version 1.43.2-1. (diff)
downloadnetdata-58daab21cd043e1dc37024a7f99b396788372918.tar.xz
netdata-58daab21cd043e1dc37024a7f99b396788372918.zip
Merging upstream version 1.44.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fluent-bit/.github/workflows/cron-stale.yaml')
-rw-r--r--fluent-bit/.github/workflows/cron-stale.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/fluent-bit/.github/workflows/cron-stale.yaml b/fluent-bit/.github/workflows/cron-stale.yaml
new file mode 100644
index 000000000..523685c50
--- /dev/null
+++ b/fluent-bit/.github/workflows/cron-stale.yaml
@@ -0,0 +1,26 @@
+name: 'Close stale issues and PR(s)'
+on:
+ schedule:
+ - cron: '30 1 * * *'
+
+jobs:
+ stale:
+ name: Mark stale
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/stale@v8
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the `exempt-stale` label.'
+ stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
+ close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
+ days-before-stale: 90
+ days-before-close: 5
+ days-before-pr-close: -1
+ exempt-all-pr-assignees: true
+ exempt-all-pr-milestones: true
+ exempt-issue-labels: 'long-term,enhancement,exempt-stale'
+ # start with the oldest
+ ascending: true
+ # keep an eye on this
+ operations-per-run: 250