Aim to fix output for stale action (#56747)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
This commit is contained in:
5
.github/workflows/needs-sme-stale-check.yaml
vendored
5
.github/workflows/needs-sme-stale-check.yaml
vendored
@@ -29,8 +29,9 @@ jobs:
|
||||
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.'
|
||||
stale-pr-label: 'Waiting on SME review'
|
||||
days-before-pr-close: -1 # never close
|
||||
staled-issues-prs: true # report issues and PRs that were commented on as stale in the output
|
||||
closed-issues-prs: true # report issues and PRs that were closed in the output - should always be `0` for this workflow
|
||||
|
||||
- name: Print outputs
|
||||
run: echo "Staled issues/PRs:${{ steps.stale.outputs.staled-issues-prs || '0' }}, Closed issues/PRs:${{ steps.stale.outputs.closed-issues-prs || '0' }}"
|
||||
|
||||
- name: Check out repo
|
||||
if: ${{ failure() }}
|
||||
|
||||
4
.github/workflows/no-response.yaml
vendored
4
.github/workflows/no-response.yaml
vendored
@@ -52,8 +52,8 @@ jobs:
|
||||
if you have the information we requested, or open an [issue](https://github.com/github/docs/issues/new/choose)
|
||||
to describe your changes. Then we can reopen this PR and begin the review process.
|
||||
|
||||
staled-issues-prs: true # report issues and PRs that were commented on as stale in the output
|
||||
closed-issues-prs: true # report issues and PRs that were closed in the output
|
||||
- name: Print outputs
|
||||
run: echo "Staled issues/PRs:${{ steps.stale.outputs.staled-issues-prs || '0' }}, Closed issues/PRs:${{ steps.stale.outputs.closed-issues-prs || '0' }}"
|
||||
|
||||
- name: Check out repo
|
||||
if: ${{ failure() }}
|
||||
|
||||
9
.github/workflows/stale.yml
vendored
9
.github/workflows/stale.yml
vendored
@@ -7,10 +7,14 @@ name: Stale check for stalled pull requests in the docs-internal repository
|
||||
on:
|
||||
schedule:
|
||||
- cron: '20 16 * * 1' # Run each Monday at 16:20 UTC / 8:20 PST
|
||||
push:
|
||||
paths:
|
||||
- .github/workflows/stale.yml
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
@@ -28,8 +32,9 @@ jobs:
|
||||
close-pr-label: 'Closed as inactive'
|
||||
|
||||
operations-per-run: 150
|
||||
staled-issues-prs: true # report PRs that were commented on as stale in the output
|
||||
closed-issues-prs: true # report PRs that were closed in the output
|
||||
|
||||
- name: Print outputs
|
||||
run: echo "Staled PRs:${{ steps.stale.outputs.staled-issues-prs || '0' }}, Closed PRs:${{ steps.stale.outputs.closed-issues-prs || '0' }}"
|
||||
|
||||
- name: Check out repo
|
||||
if: ${{ failure() }}
|
||||
|
||||
4
.github/workflows/triage-stale-check.yml
vendored
4
.github/workflows/triage-stale-check.yml
vendored
@@ -67,8 +67,8 @@ jobs:
|
||||
stale-pr-message: 'This is a gentle reminder for the docs team that this pull request is waiting for review.'
|
||||
stale-pr-label: 'Waiting on Docs team review'
|
||||
|
||||
staled-issues-prs: true # report issues and PRs that were commented on as stale in the output
|
||||
closed-issues-prs: true # report issues and PRs that were closed in the output
|
||||
- name: Print outputs
|
||||
run: echo "Staled issues/PRs:${{ steps.stale.outputs.staled-issues-prs || '0' }}, Closed issues/PRs:${{ steps.stale.outputs.closed-issues-prs || '0' }}"
|
||||
|
||||
- name: Check out repo
|
||||
if: ${{ failure() }}
|
||||
|
||||
Reference in New Issue
Block a user