Skip to content

Commit

Permalink
Switch from stale app to stale GHA
Browse files Browse the repository at this point in the history
The stale app has been deprecated and replaced with a GitHub Action.

Signed-off-by: Daniel Farrell <[email protected]>
  • Loading branch information
dfarrell07 authored and tpantelis committed Nov 20, 2023
1 parent 6b448cd commit 428ad29
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 57 deletions.
57 changes: 0 additions & 57 deletions .github/stale.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Stale

on:
schedule:
- cron: "0 0 * * *"

permissions: {}

jobs:
stale:
name: Close Stale Issues and PRs
if: github.repository_owner == 'submariner-io'
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@b69b346013879cedbf50c69f572cd85439a41936
with:
days-before-issue-stale: 120
days-before-pr-stale: 14
exempt-issue-labels: 'confirmed,security'
exempt-pr-labels: 'confirmed,security'
stale-issue-label: 'stale'
stale-issue-message: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further
activity occurs. Thank you for your contributions.
stale-pr-label: 'stale'
stale-pr-message: |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further
activity occurs. Thank you for your contributions.

0 comments on commit 428ad29

Please sign in to comment.