File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow that is manually triggered
2+ name : Stale Test
3+
4+ # Controls when the action will run. Workflow runs when manually triggered using the UI
5+ # or API.
6+ on :
7+ workflow_dispatch :
8+ # Inputs the workflow accepts.
9+ inputs :
10+ name :
11+ # Friendly description to be shown in the UI instead of 'name'
12+ description : ' Person to greet'
13+ # Default value if no value is explicitly provided
14+ default : ' World'
15+ # Input has to be provided for the workflow to run
16+ required : false
17+
18+ jobs :
19+ stale :
20+
21+ runs-on : ubuntu-latest
22+ permissions :
23+ issues : write
24+ pull-requests : write
25+
26+ steps :
27+ - uses : actions/stale@v5
28+ with :
29+ repo-token : ${{ secrets.GITHUB_TOKEN }}
30+ stale-issue-label : ' inactive'
31+ stale-issue-message : ' Without activity, this issue will be closed in 14 days.'
32+ close-issue-message : ' This issue was closed for inactivity.'
33+ stale-pr-message : ' Without activity, this PR will be closed in 14 days.'
34+ close-pr-message : ' This PR was closed for inactivity.'
35+ stale-pr-label : ' inactive'
36+ days-before-pr-stale : 30
37+ days-before-pr-close : 14
38+ days-before-issue-stale : 30
39+ days-before-issue-close : 14
You can’t perform that action at this time.
0 commit comments