1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Aim to fix output for stale action (#56747)

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
This commit is contained in:
Felicity Chapman
2025-07-21 19:04:12 +01:00
committed by GitHub
parent 1b5cdf91f1
commit a4b7767796
4 changed files with 14 additions and 8 deletions

View File

@@ -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() }}

View File

@@ -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() }}

View File

@@ -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() }}

View File

@@ -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() }}