File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change 28
28
delete-branch : true
29
29
ignore-updates : false
30
30
labels-to-remove-when-unstale : ' ⏱︎ Stale, 💤 Waiting for feedback'
31
- labels-to-add-when-unstale : ' '
32
- labels-to-remove-when-stale : ' *'
33
31
any-of-labels : ' '
34
32
ascending : false
35
33
close-issue-reason : ' not_planned'
36
34
exempt-all-milestones : false
37
-
38
- - name : Process closed issues and PRs
39
- if : steps.stale.outputs.closed-issues-prs
40
- uses : actions/github-script@v7
41
- with :
42
- github-token : ${{secrets.GITHUB_TOKEN}}
43
- script : |
44
- const closedItemsStr = '${{ steps.stale.outputs.closed-issues-prs }}';
45
- const closedItems = closedItemsStr.split(',').map(Number);
46
-
47
- for (const itemNumber of closedItems) {
48
- await github.rest.actions.createWorkflowDispatch({
49
- owner: context.repo.owner,
50
- repo: context.repo.repo,
51
- workflow_id: 'remove-labels-and-assignees-on-close.yml',
52
- ref: 'main',
53
- inputs: {
54
- issue_number: itemNumber.toString()
55
- }
56
- });
57
- }
You can’t perform that action at this time.
0 commit comments