Skip to content

Commit 1f03415

Browse files
authored
Merge branch 'github:main' into main
2 parents 246d91d + beef9a5 commit 1f03415

File tree

545 files changed

+75332
-27606
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

545 files changed

+75332
-27606
lines changed

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

Lines changed: 10 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,15 +22,17 @@ 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
3332

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' }}"
35+
3436
- name: Check out repo
3537
if: ${{ failure() }}
3638
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.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+
- 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' }}"
5057

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

.github/workflows/stale.yml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,40 @@
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
10+
push:
11+
paths:
12+
- .github/workflows/stale.yml
1013

1114
permissions:
1215
contents: read
13-
issues: write
1416
pull-requests: write
17+
issues: write
1518

1619
jobs:
1720
stale:
18-
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
21+
if: github.repository == 'github/docs-internal'
1922
runs-on: ubuntu-latest
2023
steps:
2124
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
2225
with:
2326
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'
27+
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."
28+
days-before-stale: 30
29+
days-before-close: 14
2930
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
31+
exempt-pr-labels: 'never-stale'
32+
close-pr-label: 'Closed as inactive'
33+
34+
operations-per-run: 150
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' }}"
3438

3539
- name: Check out repo
3640
if: ${{ failure() }}

.github/workflows/sync-graphql.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,16 @@ jobs:
1717
update_graphql_files:
1818
if: github.repository == 'github/docs-internal'
1919
runs-on: ubuntu-latest
20+
outputs:
21+
ignored-changes: ${{ steps.sync.outputs.ignored-changes }}
22+
ignored-count: ${{ steps.sync.outputs.ignored-count }}
23+
ignored-types: ${{ steps.sync.outputs.ignored-types }}
2024
steps:
2125
- name: Checkout
2226
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2327
- uses: ./.github/actions/node-npm-setup
2428
- name: Run updater scripts
29+
id: sync
2530
env:
2631
# need to use a token from a user with access to github/github for this step
2732
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }}
@@ -70,3 +75,22 @@ jobs:
7075
with:
7176
slack_channel_id: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
7277
slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
78+
79+
notify_ignored_changes:
80+
if: github.repository == 'github/docs-internal' && needs.update_graphql_files.outputs.ignored-count > 0 && github.event_name != 'workflow_dispatch'
81+
needs: update_graphql_files
82+
runs-on: ubuntu-latest
83+
steps:
84+
- name: Checkout
85+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
86+
- uses: ./.github/actions/slack-alert
87+
with:
88+
slack_channel_id: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
89+
slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
90+
color: warning
91+
message: |
92+
⚠️ GraphQL Sync found ${{ needs.update_graphql_files.outputs.ignored-count }} ignored change types: ${{ needs.update_graphql_files.outputs.ignored-types }}
93+
94+
These change types are not in CHANGES_TO_REPORT and were silently ignored. Consider reviewing if they should be added to the changelog.
95+
96+
See workflow run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}

.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+
- 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' }}"
6372

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

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Docs changelog
22

3+
**16 July 2025**
4+
5+
We've added documentation describing how to use the GraphQL API to create a new issue and, in the same request, assign the issue to Copilot coding agent.
6+
7+
See: [Using Copilot to work on an issue](https://docs.github.com/copilot/how-tos/agents/copilot-coding-agent/using-copilot-to-work-on-an-issue#assigning-an-issue-to-copilot-via-the-github-api).
8+
9+
<hr>
10+
11+
**16 July 2025**
12+
13+
We've updated the Copilot documentation to coincide with the release of an improved user interface for configuring the firewall for Copilot coding agent.
14+
15+
See: [Customizing or disabling the firewall for Copilot coding agent](https://docs.github.com/en/copilot/how-tos/agents/copilot-coding-agent/customizing-or-disabling-the-firewall-for-copilot-coding-agent).
16+
17+
<hr>
18+
19+
**16 July 2025**
20+
21+
We've updated the Copilot docs to coincide with the release of issue form support for Copilot Chat. When you use Copilot Chat to create an issue, an issue form will be used if there's an appropriate one in the repo. Previously only issue templates were supported.
22+
23+
See [Using GitHub Copilot to create issues](https://docs.github.com/copilot/how-tos/github-flow/using-github-copilot-to-create-issues).
24+
25+
<hr>
26+
327
**30 June 2025**
428

529
Many enterprise customers want to measure the downstream impact of Copilot on their company, looking beyond leading metrics like adoption and usage.
193 KB
Loading
108 KB
Loading
79.3 KB
Loading
13.6 KB
Loading

0 commit comments

Comments
 (0)