Skip to content

Commit 9f76ad8

Browse files
Merge branch 'main' into fix-vs-2026-billing-doc
2 parents a4fc530 + 1aa7d1b commit 9f76ad8

1,735 files changed

Lines changed: 42735 additions & 5734 deletions

File tree

Some content is hidden

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

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ For complete style guidance, see our [style guide](https://docs.github.com/en/co
7878

7979
<img src="/contributing/images/contribution_cta.png" />
8080

81-
**Make changes in a codespace:** See "[Working in a codespace](https://github.com/github/docs/blob/main/contributing/codespace.md)" for documentation-specific setup.
81+
**Make changes in a codespace:** See "[Working on GitHub Docs in a codespace](https://docs.github.com/en/contributing/setting-up-your-environment-to-work-on-github-docs/working-on-github-docs-in-a-codespace)" for documentation-specific setup.
8282

8383
**Make changes locally:**
8484
1. Fork the repository (see [official forking guide](https://docs.github.com/en/contributing))

.github/workflows/all-documents.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Check out repo
23-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
23+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2424

2525
- uses: ./.github/actions/node-npm-setup
2626

.github/workflows/article-api-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
25+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2626

2727
- uses: ./.github/actions/node-npm-setup
2828

.github/workflows/auto-add-ready-for-doc-review.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,20 @@ jobs:
2525

2626
steps:
2727
- name: Check out repo
28-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
28+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
29+
30+
- name: Generate GitHub App token
31+
id: app-token
32+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
33+
with:
34+
app-id: ${{ secrets.DOCS_BOT_APP_ID }}
35+
private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }}
2936

3037
- name: Check team membership
3138
id: membership_check
3239
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
3340
with:
34-
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
41+
github-token: ${{ steps.app-token.outputs.token }}
3542
script: |
3643
try {
3744
await github.rest.teams.getMembershipForUserInOrg({
@@ -48,7 +55,7 @@ jobs:
4855
- name: Add ready-for-doc-review label
4956
if: steps.membership_check.outputs.result == 'false'
5057
env:
51-
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }}
58+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
5259
PR_URL: ${{ github.event.pull_request.html_url }}
5360
run: |
5461
gh pr edit $PR_URL --add-label ready-for-doc-review

.github/workflows/benchmark-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
ISSUE_REPO: github/docs-engineering
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
24+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2525
with:
2626
persist-credentials: 'false'
2727
- name: Generate GitHub App token

.github/workflows/changelog-agent.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
app-id: ${{ secrets.DOCS_BOT_APP_ID }}
5353
private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }}
5454
owner: github
55-
repositories: docs-internal,docs-content
55+
repositories: docs-internal,docs-content,docs-engineering
5656

5757
- name: Resolve PR data
5858
id: resolve_pr
@@ -743,7 +743,7 @@ jobs:
743743
# Local composite actions below require the repository to be checked out.
744744
- name: Check out repo
745745
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
746-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
746+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
747747

748748
- uses: ./.github/actions/slack-alert
749749
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
@@ -753,4 +753,4 @@ jobs:
753753
- uses: ./.github/actions/create-workflow-failure-issue
754754
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
755755
with:
756-
token: ${{ secrets.DOCS_BOT_PAT_BASE }}
756+
token: ${{ steps.app-token.outputs.token }}

.github/workflows/changelog-prompt.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,18 @@ jobs:
1818
runs-on: ubuntu-latest
1919

2020
steps:
21+
- name: Generate GitHub App token
22+
id: app-token
23+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
24+
with:
25+
app-id: ${{ secrets.DOCS_BOT_APP_ID }}
26+
private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }}
27+
2128
- name: Check if PR author is in docs-content team
2229
id: check_team
2330
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
2431
with:
25-
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
32+
github-token: ${{ steps.app-token.outputs.token }}
2633
script: |
2734
try {
2835
const pr = context.payload.pull_request;
@@ -43,7 +50,7 @@ jobs:
4350

4451
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
4552
with:
46-
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
53+
github-token: ${{ steps.app-token.outputs.token }}
4754
script: |
4855
// Get PR author username
4956
const pr = context.payload.pull_request;

.github/workflows/check-for-spammy-issues.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,16 @@ jobs:
1717
if: github.repository == 'github/docs'
1818
runs-on: ubuntu-latest
1919
steps:
20+
- name: Generate GitHub App token
21+
id: app-token
22+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
23+
with:
24+
app-id: ${{ secrets.DOCS_BOT_APP_ID }}
25+
private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }}
26+
2027
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3
2128
with:
22-
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
29+
github-token: ${{ steps.app-token.outputs.token }}
2330
script: |
2431
2532
const issue = context.payload.issue

.github/workflows/close-bad-repo-sync-prs.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,17 @@ jobs:
2121
name: Close if invalid repo-sync PR author
2222
runs-on: ubuntu-latest
2323
steps:
24+
- name: Generate GitHub App token
25+
id: app-token
26+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
27+
with:
28+
app-id: ${{ secrets.DOCS_BOT_APP_ID }}
29+
private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }}
30+
2431
- name: Close pull request if unwanted
2532
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3
2633
with:
27-
github-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
34+
github-token: ${{ steps.app-token.outputs.token }}
2835
script: |
2936
const { owner, repo } = context.repo
3037
const prCreator = context.actor

.github/workflows/close-on-invalid-label.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
- name: Check out repo
4141
if: ${{ failure() && github.event_name != 'pull_request_target' }}
42-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
42+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
4343

4444
- uses: ./.github/actions/slack-alert
4545
if: ${{ failure() && github.event_name != 'pull_request_target' }}

0 commit comments

Comments
 (0)