File size: 815 Bytes
a4c7650
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Project             :   Screenipy
# Author              :   Pranjal Joshi
# Created             :   03/09/2021
# Description         :   Workflow for marking Stale Issues/PRs

name: Screenipy Stale - Mark stale issues and pull requests

on:
  schedule:
  - cron: '30 11 * * *'

jobs:
  stale:

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

    steps:
    - uses: actions/stale@v3
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}
        stale-issue-message: 'This Issue is marked as Stale due to Inactivity. This Issue will be Closed soon.'
        stale-pr-message: 'This PR is marked as Stale due to Inactivity.'
        days-before-stale: 15
        days-before-close: 5
        days-before-pr-close: -1
        exempt-issue-labels: 'question,Feedback'