Skip to content

Commit eed2815

Browse files
committed
Resolved merge conflict by deleting old tutorial file
2 parents f59a574 + f1a521b commit eed2815

File tree

1,420 files changed

+75210
-684730
lines changed

Some content is hidden

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

1,420 files changed

+75210
-684730
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
babelOptions: { configFile: './.babelrc' },
1414
sourceType: 'module',
1515
},
16-
ignorePatterns: ['tmp/*', '!/.*', '/.next/', 'script/bookmarklets/*'],
16+
ignorePatterns: ['tmp/*', '!/.*', '/.next/', 'script/bookmarklets/*', 'rest-api-description/'],
1717
rules: {
1818
'import/no-extraneous-dependencies': ['error', { packageDir: '.' }],
1919
},

.github/actions-scripts/rendered-content-link-checker.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ import contextualize from '../../middleware/context.js'
1414
import features from '../../middleware/contextualizers/features.js'
1515
import getRedirect from '../../lib/get-redirect.js'
1616
import warmServer from '../../lib/warm-server.js'
17-
import liquid from '../../lib/render-content/liquid.js'
17+
import { liquid } from '../../src/content-render/index.js'
1818
import { deprecated } from '../../lib/enterprise-server-releases.js'
1919
import excludedLinks from '../../lib/excluded-links.js'
2020
import { getEnvInputs, boolEnvVar } from './lib/get-env-inputs.js'
2121
import { debugTimeEnd, debugTimeStart } from './lib/debug-time-taken.js'
2222
import { uploadArtifact as uploadArtifactLib } from './lib/upload-artifact.js'
2323
import github from '../../script/helpers/github.js'
2424
import { getActionContext } from './lib/action-context.js'
25-
import { createMinimalProcessor } from '../../lib/render-content/create-processor.js'
25+
import { createMinimalProcessor } from '../../src/content-render/unified/processor.js'
2626

2727
const STATIC_PREFIXES = {
2828
assets: path.resolve('assets'),
@@ -158,7 +158,7 @@ if (import.meta.url.endsWith(process.argv[1])) {
158158
* linkReports {boolean} - When createReport is true, link the issue report to previous report(s) via comments
159159
* reportRepository {string} - Repository in form of "owner/repo-name" that report issue will be created in
160160
* reportLabel {string} - Label assigned to report issue,
161-
* reportAuthor {string} - Expected author of previous report issue for linking reports (a bot user like Docubot)
161+
* reportAuthor {string} - Expected author of previous report issue for linking reports (a bot user like docs-bot)
162162
* actionUrl {string} - Used to link report or comment to the action instance for debugging
163163
* actionContext {object} - Event payload context when run from action or injected. Should include { repo, owner }
164164
* verbose {boolean} - Set to true for more verbose logging

.github/workflows/add-review-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ jobs:
3434
run: |
3535
gh pr comment $PR --body "$TEMPLATE"
3636
env:
37-
GITHUB_TOKEN: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
37+
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_WORKFLOW_READORG }}
3838
PR: ${{ github.event.pull_request.html_url }}
3939
TEMPLATE: ${{ env.TEMPLATE }}

.github/workflows/azure-preview-env-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
env:
127127
BRANCH_NAME: ${{ env.BRANCH_NAME }}
128128
with:
129-
github-token: ${{ secrets.DOCUBOT_REPO_PAT }}
129+
github-token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
130130
result-encoding: string
131131
script: |
132132
const { BRANCH_NAME } = process.env
@@ -154,7 +154,7 @@ jobs:
154154
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
155155
with:
156156
repository: github/docs-early-access
157-
token: ${{ secrets.DOCUBOT_REPO_PAT }}
157+
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
158158
path: docs-early-access
159159
ref: ${{ steps.check-early-access.outputs.result }}
160160

@@ -180,7 +180,7 @@ jobs:
180180
- if: ${{ steps.with-translations.outputs.result == 'true' }}
181181
uses: ./.github/actions/clone-translations
182182
with:
183-
token: ${{ secrets.DOCUBOT_REPO_PAT }}
183+
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
184184

185185
- if: ${{ env.IS_PUBLIC_BUILD == 'true' }}
186186
name: Check out user code to temp directory

.github/workflows/azure-preview-env-destroy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,5 @@ jobs:
6868
- uses: strumwolf/delete-deployment-environment@3cb547f8ec03ee6c0473d90cce57c74c688c2510
6969
with:
7070
# The token provided by the workflow does not have the permissions to delete created environments
71-
token: ${{ secrets.DOCUBOT_REPO_PAT }}
71+
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
7272
environment: preview-env-${{ env.PR_NUMBER }}

.github/workflows/azure-prod-build-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
6666
with:
6767
repository: github/docs-early-access
68-
token: ${{ secrets.DOCUBOT_REPO_PAT }}
68+
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
6969
path: docs-early-access
7070

7171
- name: Merge docs-early-access repo's folders
@@ -77,7 +77,7 @@ jobs:
7777

7878
- uses: ./.github/actions/clone-translations
7979
with:
80-
token: ${{ secrets.DOCUBOT_REPO_PAT }}
80+
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
8181

8282
- name: 'Build and push image'
8383
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671

.github/workflows/azure-staging-build-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
8484
with:
8585
repository: github/docs-early-access
86-
token: ${{ secrets.DOCUBOT_REPO_PAT }}
86+
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
8787
path: docs-early-access
8888
ref: main
8989

.github/workflows/check-broken-links-github-github.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
runs-on: ubuntu-latest
2828
env:
2929
# need to use a token from a user with access to github/github for this step
30-
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_FR }}
30+
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
3131
FIRST_RESPONDER_PROJECT: Docs content first responder
32-
REPORT_AUTHOR: docubot
32+
REPORT_AUTHOR: docs-bot
3333
REPORT_LABEL: github github broken link report
3434
REPORT_REPOSITORY: github/docs-content
3535
steps:
@@ -48,7 +48,7 @@ jobs:
4848

4949
- uses: ./.github/actions/get-docs-early-access
5050
with:
51-
token: ${{ secrets.DOCUBOT_REPO_PAT }}
51+
token: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
5252

5353
- name: Build server
5454
run: npm run build

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
2121
with:
22-
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
22+
github-token: ${{ secrets.DOCS_BOT_PAT_WORKFLOW_READORG }}
2323
script: |
2424
2525
const issue = context.payload.issue

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Close pull request if unwanted
2424
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
2525
with:
26-
github-token: ${{ secrets.DOCS_BOT_FR }}
26+
github-token: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
2727
script: |
2828
const { owner, repo } = context.repo
2929
const prCreator = context.actor

0 commit comments

Comments
 (0)