File tree Expand file tree Collapse file tree 4 files changed +14
-8
lines changed Expand file tree Collapse file tree 4 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 2929 stale-pr-message : ' This is a gentle reminder for the docs team that this PR is waiting for technical review by a subject matter expert.'
3030 stale-pr-label : ' Waiting on SME review'
3131 days-before-pr-close : -1 # never close
32- staled-issues-prs : true # report issues and PRs that were commented on as stale in the output
33- closed-issues-prs : true # report issues and PRs that were closed in the output - should always be `0` for this workflow
32+
33+ - name : Print outputs
34+ run : echo "Staled issues/PRs:${{ steps.stale.outputs.staled-issues-prs || '0' }}, Closed issues/PRs:${{ steps.stale.outputs.closed-issues-prs || '0' }}"
3435
3536 - name : Check out repo
3637 if : ${{ failure() }}
Original file line number Diff line number Diff line change 5252 if you have the information we requested, or open an [issue](https://github.com/github/docs/issues/new/choose)
5353 to describe your changes. Then we can reopen this PR and begin the review process.
5454
55- staled-issues-prs : true # report issues and PRs that were commented on as stale in the output
56- closed -issues-prs: true # report issues and PRs that were closed in the output
55+ - name : Print outputs
56+ run : echo "Staled issues/PRs:${{ steps.stale.outputs.staled -issues-prs || '0' }}, Closed issues/ PRs:${{ steps.stale.outputs. closed-issues-prs || '0' }}"
5757
5858 - name : Check out repo
5959 if : ${{ failure() }}
Original file line number Diff line number Diff line change @@ -7,10 +7,14 @@ name: Stale check for stalled pull requests in the docs-internal repository
77on :
88 schedule :
99 - cron : ' 20 16 * * 1' # Run each Monday at 16:20 UTC / 8:20 PST
10+ push :
11+ paths :
12+ - .github/workflows/stale.yml
1013
1114permissions :
1215 contents : read
1316 pull-requests : write
17+ issues : write
1418
1519jobs :
1620 stale :
2832 close-pr-label : ' Closed as inactive'
2933
3034 operations-per-run : 150
31- staled-issues-prs : true # report PRs that were commented on as stale in the output
32- closed-issues-prs : true # report PRs that were closed in the output
35+
36+ - name : Print outputs
37+ run : echo "Staled PRs:${{ steps.stale.outputs.staled-issues-prs || '0' }}, Closed PRs:${{ steps.stale.outputs.closed-issues-prs || '0' }}"
3338
3439 - name : Check out repo
3540 if : ${{ failure() }}
Original file line number Diff line number Diff line change 6767 stale-pr-message : ' This is a gentle reminder for the docs team that this pull request is waiting for review.'
6868 stale-pr-label : ' Waiting on Docs team review'
6969
70- staled-issues-prs : true # report issues and PRs that were commented on as stale in the output
71- closed -issues-prs: true # report issues and PRs that were closed in the output
70+ - name : Print outputs
71+ run : echo "Staled issues/PRs:${{ steps.stale.outputs.staled -issues-prs || '0' }}, Closed issues/ PRs:${{ steps.stale.outputs. closed-issues-prs || '0' }}"
7272
7373 - name : Check out repo
7474 if : ${{ failure() }}
You can’t perform that action at this time.
0 commit comments