1
0
mirror of synced 2025-12-25 11:03:37 -05:00

Merge pull request #24209 from github/repo-sync

repo sync
This commit is contained in:
Octomerger Bot
2023-02-28 13:33:45 -08:00
committed by GitHub
3 changed files with 6 additions and 29 deletions

View File

@@ -44,19 +44,12 @@ jobs:
# To prevent issues with cloning early access content later
persist-credentials: 'false'
- name: Clone docs-early-access
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
with:
repository: github/docs-early-access
token: ${{ secrets.DOCUBOT_REPO_PAT }}
path: docs-early-access
ref: main
- name: Merge docs-early-access repo's folders
run: .github/actions-scripts/merge-early-access.sh
- uses: ./.github/actions/node-npm-setup
- uses: ./.github/actions/get-docs-early-access
with:
token: ${{ secrets.DOCUBOT_REPO_PAT }}
- name: Build server
run: npm run build

View File

@@ -30,26 +30,10 @@ jobs:
- uses: ./.github/actions/node-npm-setup
- name: Figure out which docs-early-access branch to checkout, if internal repo
- uses: ./.github/actions/get-docs-early-access
if: ${{ github.repository == 'github/docs-internal' }}
id: check-early-access
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
GITHUB_TOKEN: ${{ secrets.DOCUBOT_REPO_PAT }}
run: node .github/actions-scripts/what-docs-early-access-branch.js
- name: Check out docs-early-access too, if internal repo
if: ${{ github.repository == 'github/docs-internal' }}
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
with:
repository: github/docs-early-access
token: ${{ secrets.DOCUBOT_REPO_PAT }}
path: docs-early-access
ref: ${{ steps.check-early-access.outputs.branch }}
- name: Merge docs-early-access repo's folders
if: ${{ github.repository == 'github/docs-internal' }}
run: .github/actions-scripts/merge-early-access.sh
# TODO: When we want to fix redirects on changed files we can uncomment everything below
# Creates file "${{ env.HOME }}/files.json", among others

View File

@@ -26,7 +26,7 @@ export interface ChildParameter {
description: string
type: string
isRequired?: boolean
enum?: null | string[]
enum?: Array<string | null>
default?: string | boolean | number | undefined | string[]
childParamsGroups?: ChildParameter[]
}