Skip to content

Repo sync #39416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/workflows/needs-sme-stale-check.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Stale check for issues or PRs with "needs SME" label

# **What it does**: Provides stale checks on issues/PRs that need SME(subject matter expert) review on open source docs repo.
# **Why we have it**: In the open repo, we want we want frequent checks on issues/PRs that are waiting on SME review.
# **What it does**: Runs only in the OS repository to provide stale checks on issues/PRs that need SME(subject matter expert) review.
# **Why we have it**: In the open repo, we want we want to check on issues/PRs that are waiting on SME review.
# **Who does it impact**: Anyone working in the open repo.

on:
schedule:
- cron: '20 16 * * *' # Run each day at 16:20 UTC / 8:20 PST
- cron: '20 16 * * 3' # Run each Wedneday at 16:20 UTC / 8:20 PST

permissions:
contents: read
Expand All @@ -22,14 +22,15 @@ jobs:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
only-labels: needs SME
remove-stale-when-updated: true
days-before-stale: 28 # adds stale label if no activity for 7 days - temporarily changed to 28 days as we work through the backlog
stale-issue-message: 'This is a gentle bump for the docs team that this issue is waiting for technical review.'
stale-issue-label: SME stale
stale-issue-message: 'This is a gentle reminder for the docs team that this issue is waiting for technical review by a subject matter expert (SME).'
stale-issue-label: 'Waiting on SME review'
days-before-issue-close: -1 # never close
stale-pr-message: 'This is a gentle bump for the docs team that this PR is waiting for technical review.'
stale-pr-label: SME stale
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: Check out repo
if: ${{ failure() }}
Expand Down
31 changes: 19 additions & 12 deletions .github/workflows/no-response.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: No Response
name: Stale check for no response from author

# **What it does**: Closes issues that don't have enough information to be
# **What it does**: Runs only in the OS repository to close issues that don't have enough information to be
# actionable.
# **Why we have it**: To remove the need for maintainers to remember to check
# back on issues periodically to see if contributors have
# responded.
# **Who does it impact**: Everyone that works on docs or docs-internal.
# **Who does it impact**: Everyone that works in the docs repository.

on:
issue_comment:
types: [created]

schedule:
- cron: '20 * * * *' # Run each hour at 20 minutes past
- cron: '20 16 * * 1' # Run each Monday at 16:20 UTC / 8:20 PST

permissions:
contents: read
Expand All @@ -28,10 +28,11 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
only-labels: 'more-information-needed'
days-before-stale: -1
days-before-issue-stale: 14
days-before-close: -1
days-before-issue-close: 0

# Define behavior for issues
days-before-issue-stale: 21
days-before-issue-close: 1 # close after 1 day if the issue is not updated
stale-issue-label: 'Waiting on contributor'
close-issue-message: >
This issue has been automatically closed because there has been no response
to our request for more information from the original author. With only the
Expand All @@ -40,13 +41,19 @@ jobs:
that we can investigate further. See [this blog post on bug reports and the
importance of repro steps](https://www.lee-dohm.com/2015/01/04/writing-good-bug-reports/)
for more information about the kind of information that may be helpful.
days-before-pr-stale: 7
days-before-pr-close: 0

# Define behavior for pull requests
days-before-pr-stale: 21
days-before-pr-close: 1 # close after a day if no activity is detected
stale-pr-label: 'Waiting on contributor'
close-pr-message: >
This PR has been automatically closed because there has been no response to
to our request for more information from the original author. Please reach out
if you have the information we requested, or open a [new issue](https://github.com/github/docs/issues/new/choose)
to describe your changes. Then we can begin the review process.
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: Check out repo
if: ${{ failure() }}
Expand Down
31 changes: 15 additions & 16 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,35 @@
name: Stale
name: Stale check for stalled pull requests in the docs-internal repository

# **What it does**: Close issues and pull requests after no updates for 365 days.
# **Why we have it**: We want to manage our queue of issues and pull requests.
# **Who does it impact**: Everyone that works on docs or docs-internal.
# **What it does**: Identifies pull requests that have been inactive for 30 days.
# **Why we have it**: We want to avoid pull requests that are stalled and not being reviewed.
# **Who does it impact**: Everyone that works in the internal repository.

on:
schedule:
- cron: '20 16 * * *' # Run every day at 16:20 UTC / 8:20 PST
- cron: '20 16 * * 1' # Run each Monday at 16:20 UTC / 8:20 PST

permissions:
contents: read
issues: write
pull-requests: write

jobs:
stale:
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
if: github.repository == 'github/docs-internal'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because there have been no updates in 365 days.'
stale-pr-message: 'This PR is stale because there have been no updates in 365 days.'
days-before-stale: 365
days-before-close: 0
stale-issue-label: 'stale'
stale-pr-message: "It looks as if this pull request has been inactive for 30 days. We want to check in with you to see if you plan to continue working on it. If you do, please add a comment to let us know. If we don't hear from you, we will close this pull request after 14 days."
days-before-stale: 30
days-before-close: 14
stale-pr-label: 'stale'
exempt-pr-labels: 'never-stale,waiting for review'
exempt-issue-labels: 'never-stale,help wanted,waiting for review'
operations-per-run: 1000
close-issue-reason: not_planned
exempt-pr-labels: 'never-stale'
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: Check out repo
if: ${{ failure() }}
Expand Down
47 changes: 28 additions & 19 deletions .github/workflows/triage-stale-check.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Public Repo Stale Check
name: Stale check for no activity

# **What it does**: Provides more aggressive stale checks in the open repo.
# **Why we have it**: In the open repo, we want more aggressive stale checking.
# **Who does it impact**: Anyone working in the open repo.

on:
schedule:
- cron: '20 16 * * 1-5' # Run every weekday at 16:20 UTC / 8:20 PST
- cron: '20 16 * * 2' # Run each Tuesday at 16:20 UTC / 8:20 PST

permissions:
contents: read
Expand All @@ -15,22 +15,32 @@ permissions:

jobs:
stale_contributor:
name: Identify and close stale issues and PRs
if: github.repository == 'github/docs'
runs-on: ubuntu-latest

steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'A stale label has been added to this issue and it has been closed, because it has been open for 30 days with no activity. If you think this issue should remain open, please add a new comment.'
days-before-issue-stale: 30
days-before-issue-close: 0
days-before-stale: 30
days-before-close: 7

stale-issue-message: 'A stale label has been added to this issue, because it has been open for 30 days with no activity. If you think this issue should remain open, please add a new comment.'
exempt-issue-labels: 'help wanted,never-stale,waiting for review'
stale-issue-label: 'Inactive'
close-issue-label: 'Closed as inactive'

exempt-pr-labels: 'never-stale,ready to merge,waiting for review'
stale-pr-message: 'A stale label has been added to this pull request because it has been open 30 days with no activity. If you think this pull request should remain open, please add a new comment.'
days-before-pr-stale: 30
days-before-pr-close: 0
stale-pr-label: 'stale'
exempt-pr-labels: 'waiting for review,never-stale,ready to merge'
stale-pr-label: 'Inactive'
close-pr-label: 'Closed as inactive'

# Both output options are set true for debugging.
# The numbers should always match unless we change `days-before-close` from `0`.

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: Check out repo
if: ${{ failure() }}
Expand All @@ -40,26 +50,25 @@ jobs:
with:
slack_channel_id: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}

stale_staff:
name: Remind staff about PRs waiting for review
if: github.repository == 'github/docs'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: 'This is a gentle bump for the docs team that this PR is waiting for review.'
days-before-issue-stale: -1
only-labels: 'waiting for review'
days-before-pr-stale: 14
days-before-pr-close: -1 # Never close
remove-stale-when-updated: false
operations-per-run: 100
only-pr-labels: 'waiting for review'
# The hope is that by setting the stale-pr-label to the same label
# as the label that the stale check looks for, this will result in
# a comment being posted every 14 days as an infinite loop, which is what
# we want
stale-pr-label: 'waiting for review'
exempt-pr-labels: 'never-stale'

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: Check out repo
if: ${{ failure() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Verified academic faculty can apply for {% data variables.product.prodname_team

## Discounts for nonprofits and libraries

{% data variables.product.company_short %} provides free {% data variables.product.prodname_team %} for organizations with unlimited private repositories, unlimited collaborators, and a full feature set to qualifying 501(c)3 (or equivalent) organizations and libraries. You can request a discount for your organization on [our nonprofit page](https://github.com/nonprofit).
{% data variables.product.company_short %} provides free {% data variables.product.prodname_team %} for organizations with unlimited private repositories, unlimited collaborators, and a full feature set, or 25% off GitHub Enterprise Cloud to qualifying 501(c)3 (or equivalent) organizations and libraries. You can request a discount for your organization on [our nonprofit page](https://nonprofits.github.com/).

If your organization already has a paid plan, your organization's last transaction will be refunded once your nonprofit discount has been applied.

Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy