Skip to content

Commit e9b8839

Browse files
committed
adds basic action yaml file
1 parent a718ce4 commit e9b8839

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/action.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: 'Label Stale Issues'
2+
description: 'Label issues with no recent activity'
3+
author: 'GitHub'
4+
inputs:
5+
repo-token:
6+
description: 'Token for the repository. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`.'
7+
required: false
8+
default: ${{ github.token }}
9+
stale-issue-message:
10+
description: 'TEST: labeling issues as stale if they exceed a specific age.'
11+
required: true
12+
days-before-issue-stale:
13+
description: 'The number of days old an issue can be before marking it stale. Set to -1 to never mark issues as stale automatically. Override "days-before-stale" option regarding only the issues.'
14+
required: false
15+
default: '850'
16+
stale-issue-label:
17+
description: 'The label to apply when an issue is stale.'
18+
required: false
19+
default: 'TEST LABEL Stale'
20+
exempt-issue-labels:
21+
description: 'The labels that mean an issue is exempt from being marked stale. Separate multiple labels with commas (eg. "label1,label2").'
22+
default: 'Do not stale'
23+
required: false
24+
close-issue-reason:
25+
description: 'The reason to use when closing an issue.'
26+
default: 'not_planned'
27+
required: false
28+
outputs:
29+
closed-issues-prs:
30+
description: 'List of all closed issues and pull requests.'
31+
staled-issues-prs:
32+
description: 'List of all staled issues and pull requests.'

0 commit comments

Comments
 (0)