Skip to content

Commit f5f30b0

Browse files
authored
Merge pull request #39416 from github/repo-sync
Repo sync
2 parents 6ea0f7c + ffa7d4c commit f5f30b0

File tree

5 files changed

+72
-56
lines changed

5 files changed

+72
-56
lines changed

.github/workflows/needs-sme-stale-check.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: Stale check for issues or PRs with "needs SME" label
22

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

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

1111
permissions:
1212
contents: read
@@ -22,14 +22,15 @@ jobs:
2222
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
2323
with:
2424
only-labels: needs SME
25-
remove-stale-when-updated: true
2625
days-before-stale: 28 # adds stale label if no activity for 7 days - temporarily changed to 28 days as we work through the backlog
27-
stale-issue-message: 'This is a gentle bump for the docs team that this issue is waiting for technical review.'
28-
stale-issue-label: SME stale
26+
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).'
27+
stale-issue-label: 'Waiting on SME review'
2928
days-before-issue-close: -1 # never close
30-
stale-pr-message: 'This is a gentle bump for the docs team that this PR is waiting for technical review.'
31-
stale-pr-label: SME stale
29+
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.'
30+
stale-pr-label: 'Waiting on SME review'
3231
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
3334

3435
- name: Check out repo
3536
if: ${{ failure() }}

.github/workflows/no-response.yaml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
name: No Response
1+
name: Stale check for no response from author
22

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

1010
on:
1111
issue_comment:
1212
types: [created]
1313

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

1717
permissions:
1818
contents: read
@@ -28,10 +28,11 @@ jobs:
2828
with:
2929
repo-token: ${{ secrets.GITHUB_TOKEN }}
3030
only-labels: 'more-information-needed'
31-
days-before-stale: -1
32-
days-before-issue-stale: 14
33-
days-before-close: -1
34-
days-before-issue-close: 0
31+
32+
# Define behavior for issues
33+
days-before-issue-stale: 21
34+
days-before-issue-close: 1 # close after 1 day if the issue is not updated
35+
stale-issue-label: 'Waiting on contributor'
3536
close-issue-message: >
3637
This issue has been automatically closed because there has been no response
3738
to our request for more information from the original author. With only the
@@ -40,13 +41,19 @@ jobs:
4041
that we can investigate further. See [this blog post on bug reports and the
4142
importance of repro steps](https://www.lee-dohm.com/2015/01/04/writing-good-bug-reports/)
4243
for more information about the kind of information that may be helpful.
43-
days-before-pr-stale: 7
44-
days-before-pr-close: 0
44+
45+
# Define behavior for pull requests
46+
days-before-pr-stale: 21
47+
days-before-pr-close: 1 # close after a day if no activity is detected
48+
stale-pr-label: 'Waiting on contributor'
4549
close-pr-message: >
4650
This PR has been automatically closed because there has been no response to
4751
to our request for more information from the original author. Please reach out
48-
if you have the information we requested, or open a [new issue](https://github.com/github/docs/issues/new/choose)
49-
to describe your changes. Then we can begin the review process.
52+
if you have the information we requested, or open an [issue](https://github.com/github/docs/issues/new/choose)
53+
to describe your changes. Then we can reopen this PR and begin the review process.
54+
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
5057

5158
- name: Check out repo
5259
if: ${{ failure() }}

.github/workflows/stale.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,35 @@
1-
name: Stale
1+
name: Stale check for stalled pull requests in the docs-internal repository
22

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

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

1111
permissions:
1212
contents: read
13-
issues: write
1413
pull-requests: write
1514

1615
jobs:
1716
stale:
18-
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
17+
if: github.repository == 'github/docs-internal'
1918
runs-on: ubuntu-latest
2019
steps:
2120
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
2221
with:
2322
repo-token: ${{ secrets.GITHUB_TOKEN }}
24-
stale-issue-message: 'This issue is stale because there have been no updates in 365 days.'
25-
stale-pr-message: 'This PR is stale because there have been no updates in 365 days.'
26-
days-before-stale: 365
27-
days-before-close: 0
28-
stale-issue-label: 'stale'
23+
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."
24+
days-before-stale: 30
25+
days-before-close: 14
2926
stale-pr-label: 'stale'
30-
exempt-pr-labels: 'never-stale,waiting for review'
31-
exempt-issue-labels: 'never-stale,help wanted,waiting for review'
32-
operations-per-run: 1000
33-
close-issue-reason: not_planned
27+
exempt-pr-labels: 'never-stale'
28+
close-pr-label: 'Closed as inactive'
29+
30+
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
3433

3534
- name: Check out repo
3635
if: ${{ failure() }}

.github/workflows/triage-stale-check.yml

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: Public Repo Stale Check
1+
name: Stale check for no activity
22

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

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

1111
permissions:
1212
contents: read
@@ -15,22 +15,32 @@ permissions:
1515

1616
jobs:
1717
stale_contributor:
18+
name: Identify and close stale issues and PRs
1819
if: github.repository == 'github/docs'
1920
runs-on: ubuntu-latest
2021

2122
steps:
2223
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
2324
with:
2425
repo-token: ${{ secrets.GITHUB_TOKEN }}
25-
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.'
26-
days-before-issue-stale: 30
27-
days-before-issue-close: 0
26+
days-before-stale: 30
27+
days-before-close: 7
28+
29+
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.'
2830
exempt-issue-labels: 'help wanted,never-stale,waiting for review'
31+
stale-issue-label: 'Inactive'
32+
close-issue-label: 'Closed as inactive'
33+
34+
exempt-pr-labels: 'never-stale,ready to merge,waiting for review'
2935
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.'
30-
days-before-pr-stale: 30
31-
days-before-pr-close: 0
32-
stale-pr-label: 'stale'
33-
exempt-pr-labels: 'waiting for review,never-stale,ready to merge'
36+
stale-pr-label: 'Inactive'
37+
close-pr-label: 'Closed as inactive'
38+
39+
# Both output options are set true for debugging.
40+
# The numbers should always match unless we change `days-before-close` from `0`.
41+
42+
staled-issues-prs: true # report issues and PRs that were commented on as stale in the output
43+
closed-issues-prs: true # report issues and PRs that were closed in the output
3444

3545
- name: Check out repo
3646
if: ${{ failure() }}
@@ -40,26 +50,25 @@ jobs:
4050
with:
4151
slack_channel_id: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
4252
slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
53+
4354
stale_staff:
55+
name: Remind staff about PRs waiting for review
4456
if: github.repository == 'github/docs'
4557
runs-on: ubuntu-latest
4658
steps:
4759
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
4860
with:
4961
repo-token: ${{ secrets.GITHUB_TOKEN }}
50-
stale-pr-message: 'This is a gentle bump for the docs team that this PR is waiting for review.'
51-
days-before-issue-stale: -1
62+
only-labels: 'waiting for review'
5263
days-before-pr-stale: 14
5364
days-before-pr-close: -1 # Never close
54-
remove-stale-when-updated: false
5565
operations-per-run: 100
56-
only-pr-labels: 'waiting for review'
57-
# The hope is that by setting the stale-pr-label to the same label
58-
# as the label that the stale check looks for, this will result in
59-
# a comment being posted every 14 days as an infinite loop, which is what
60-
# we want
61-
stale-pr-label: 'waiting for review'
62-
exempt-pr-labels: 'never-stale'
66+
67+
stale-pr-message: 'This is a gentle reminder for the docs team that this pull request is waiting for review.'
68+
stale-pr-label: 'Waiting on Docs team review'
69+
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
6372

6473
- name: Check out repo
6574
if: ${{ failure() }}

content/billing/managing-the-plan-for-your-github-account/discounted-plans-for-github-accounts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Verified academic faculty can apply for {% data variables.product.prodname_team
3535

3636
## Discounts for nonprofits and libraries
3737

38-
{% 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).
38+
{% 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/).
3939

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

0 commit comments

Comments
 (0)
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