Skip to content

Commit

Permalink
Create stable.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zijinoier authored Feb 26, 2024
1 parent 63ce171 commit 74c4aa9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/stable.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:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
stale:

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

steps:
- uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale issue message, no activity'
stale-pr-message: 'Stale pull request message, no activity'
stale-issue-label: 'Stable'
stale-pr-label: 'no-pr-activity'

0 comments on commit 74c4aa9

Please sign in to comment.