Skip to content

Commit

Permalink
[ISSUE 194] add automatic stale tag on stale PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
dedece35 committed Jun 23, 2023
1 parent 3af964a commit 39e7044
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/stale_tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Label stale PRs"
on:
schedule:
- cron: "30 1 * * *"
workflow_dispatch:

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: -1 # We don't want to address issues
days-before-pr-stale: 30
days-before-issue-close: -1 # We don't want to close issues in this action
days-before-pr-close: -1 # We don't want to close PR in this action
stale-pr-label: stale
stale-pr-message: |
This PR has been automatically marked as stale because it has no activity for 30 days.
Please add a comment if you want to keep the issue open. Thank you for your contributions!

0 comments on commit 39e7044

Please sign in to comment.