Skip to content

Commit 6e69bd1

Browse files
author
SandboxCodeX
authored
Merge branch 'main' into patch-8
2 parents dcd4c6b + 8e4c904 commit 6e69bd1

155 files changed

Lines changed: 29973 additions & 162 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/instructions/content.instructions.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,17 @@ For such content, DO NOT use in-article Liquid versioning such as `{% ifversion
115115

116116
All articles that are ONLY for GitHub Enterprise Server (GHES) should be versioned in the frontmatter using feature-based versioning defined in `data/features/`.
117117

118+
### Versioning for GHES content: always use feature-based versioning
119+
120+
If content is intended to ship to GitHub Enterprise Server, use **feature-based versioning (FBV)**.
121+
122+
* Do **not** suggest removing GHES frontmatter versioning or hardcode version strings (for example, `free-pro-team@latest`) just to make links or tests pass.
123+
* If CI fails because a GHES link cannot be built, treat that as a versioning mismatch—not a signal to de-scope GHES.
124+
* Add or reuse the appropriate feature flag in `data/features/`. Use it in `versions.feature` frontmatter when an article's availability follows the feature, and use Liquid conditionals only for version-specific blocks within a broader article.
125+
* Keep frontmatter and in-article versioning aligned so links render for every supported version.
126+
127+
For guidance, see [About feature-based versioning](https://docs.github.com/en/contributing/writing-for-github-docs/versioning-documentation#about-feature-based-versioning).
128+
118129
### FPT, GHEC, GHES articles
119130

120131
All articles that are versioned for all of FPT, GHEC, and GHES in the frontmatter MAY require certain blocks of content to be versioned using in-article Liquid versioning. Before recommending this, check if this is really the case.

.github/workflows/Thingking

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the "main" branch
8+
push:
9+
branches: [ "master" ]
10+
pull_request:
11+
branches: [ "master" ]
12+
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
16+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+
jobs:
18+
# This workflow contains a single job called "build"
19+
build:
20+
# The type of runner that the job will run on
21+
runs-on: ubuntu-latest
22+
23+
# Steps represent a sequence of tasks that will be executed as part of the job
24+
steps:
25+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26+
- uses: actions/checkout@v4
27+
28+
# Runs a single command using the runners shell
29+
- name: Run a one-line script
30+
run: echo Hello, world!
31+
32+
# Runs a set of commands using the runners shell
33+
- name: Run a multi-line script
34+
run: |
35+
echo Add other actions to build,
36+
echo test, and deploy your project.

.github/workflows/enterprise-release-issue.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,18 @@ jobs:
2020
steps:
2121
- name: Checkout repository code
2222
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
23-
- name: Generate GitHub App token
24-
id: app-token
25-
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
26-
with:
27-
app-id: ${{ secrets.DOCS_BOT_APP_ID }}
28-
private-key: ${{ secrets.DOCS_BOT_APP_PRIVATE_KEY }}
29-
owner: github
30-
repositories: docs-content,docs-engineering,enterprise-releases
3123

3224
- uses: ./.github/actions/node-npm-setup
3325

3426
- name: Create an enterprise release issue
3527
run: npm run create-enterprise-issue -- release
3628
env:
37-
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
29+
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }}
3830

3931
- name: Create an enterprise deprecation issue
4032
run: npm run create-enterprise-issue -- deprecation
4133
env:
42-
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
34+
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }}
4335

4436
- uses: ./.github/actions/slack-alert
4537
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
@@ -49,4 +41,4 @@ jobs:
4941
- uses: ./.github/actions/create-workflow-failure-issue
5042
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
5143
with:
52-
token: ${{ steps.app-token.outputs.token }}
44+
token: ${{ secrets.DOCS_BOT_PAT_BASE }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# ---------------------------------------------------------------
1111
# To update the sha:
1212
# https://github.com/github/gh-base-image/pkgs/container/gh-base-image%2Fgh-base-noble
13-
FROM ghcr.io/github/gh-base-image/gh-base-noble:20260713-090615-gb0d388add@sha256:8708e26b53b2304cf8d933be5e8fbca4fa4d07b3ba6e4be238372a5d3029e443 AS base
13+
FROM ghcr.io/github/gh-base-image/gh-base-noble:20260716-144716-g39f79b427@sha256:4c49a03485e03d2976c45a876365e98f3f3f29eb4ba1546cf03434cd5ae8bbca AS base
1414

1515
# Install curl for Node install and determining the early access branch
1616
# Install git for cloning docs-early-access & translations repos

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# GitHub Docs <!-- omit in toc -->
1+
# Sandboxcode Docs <!-- omit in toc -->
22

3-
Welcome to GitHub Docs! GitHub’s documentation is open source, meaning anyone from inside or outside the company can contribute. For full contributing guidelines, visit our [contributing guide](https://docs.github.com/en/contributing).
3+
Welcome to sandboxcode Docs! sandboxcode’s documentation is open source, meaning anyone from inside or outside the company can contribute. For full contributing guidelines, visit our [contributing guide](https://docs.github.com/en/contributing).
44

55

66
## Quick links by contributor type

config/kubernetes/production/deployments/webapp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
# Prevents capacity loss during deploys. Safe because we're over-provisioned.
1515
maxUnavailable: 0
1616
# Percentage so it scales with replica count changes.
17-
maxSurge: '50%'
17+
maxSurge: '100%'
1818
selector:
1919
matchLabels:
2020
app: webapp

0 commit comments

Comments
 (0)