Skip to content

Commit

Permalink
Stale bot GHA (#904)
Browse files Browse the repository at this point in the history
* Stale bot GHA

Signed-off-by: makhov <amakhov@mirantis.com>

* DCO check GHA. Change exempt label

Signed-off-by: makhov <amakhov@mirantis.com>

---------

Signed-off-by: makhov <amakhov@mirantis.com>
  • Loading branch information
makhov authored Jan 29, 2025
1 parent 6e56b0c commit 7b65346
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Close stale PRs"
on:
schedule:
- cron: "0 23 * * *"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'The issue is marked as stale since no activity has been recorded in 30 days'
stale-pr-message: 'The PR is marked as stale since no activity has been recorded in 30 days'
days-before-stale: 30
close-pr-label: "stale"
remove-issue-stale-when-updated: true
remove-pr-stale-when-updated: true
labels-to-remove-when-unstale: "stale"
exempt-pr-labels: "keep"
exempt-issue-labels: "keep"

0 comments on commit 7b65346

Please sign in to comment.