Skip to content

Commit

Permalink
Introduce stale workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvodita committed Nov 15, 2023
1 parent 44d6cd3 commit 9173d8a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests

on:
schedule:
# Run every day at 00:00 UTC
- cron: '0 0 * * *'
# Or run on demand
workflow_dispatch:

jobs:
stale:

runs-on: ubuntu-latest
permissions:
pull-requests: write

steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-pr-stale: 0
stale-pr-message: 'Stale pull request message'
stale-pr-label: 'no-pr-activity'

0 comments on commit 9173d8a

Please sign in to comment.