You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/actions-scripts/enterprise-server-issue-templates/release-issue.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,19 +34,21 @@
34
34
```
35
35
☝️ This will run a workflow **on every push to the PR** that will sync **only** the English index for the new version to Algolia. This will make the GHES content searchable on staging throughout content creation, and will ensure the search updates go live at the same time the content is published. See [`contributing/search.md`](https://github.com/github/docs-internal/blob/main/contributing/search.md) for details.
36
36
37
-
- [ ] Create an OpenAPI topic branch
38
-
39
-
This branch is used to avoid propagating the OpenAPI dev mode check CI test failure in all of the branches. All changes that affect the OpenAPI schema should branch off of this topic branch. The tests should all be passing before the OpenAPI topic branch is merged into the megabranch.
40
-
41
-
For more information about how OpenAPI changes are published to docs.github.com, see [Publishing REST API changes to docs.github.com](https://github.com/github/docs-content/blob/main/docs-content-docs/docs-content-workflows/publishing-documentation/publishing-REST-api-docs.md#publishing-rest-api-changes-to-docsgithubcom).
42
-
43
37
- [ ] In `github/github`, to create a new GHES release follow these steps:
44
38
- [ ] Copy the previous release's root document to a new root document for this release `cp app/api/description/ghes-<LATEST RELEASE NUMBER>.yaml app/api/description/ghes-<NEXT RELEASE NUMBER>.yaml`.
45
39
- [ ] Update the `externalDocs.url` property in that file to use the new GHES release number.
46
40
- [ ] Copy the previous release's configuration file to a new configuration file for this release `cp app/api/description/config/releases/ghes-<LATEST RELEASE NUMBER>.yaml app/api/description/config/releases/ghes-<NEXT RELEASE NUMBER>.yaml`.
47
41
- [ ] Update the `variables.externalDocsUrl`, `variables.ghesVersion`, and `patch.[].value.url` in that file to use the new GHES release number.
48
42
- [ ] Update `published` in that file to `false`. **Note:** This is important to ensure that 3.1 OpenAPI changes are not made public until 3.1 is released.
49
43
44
+
#### Troubleshooting
45
+
46
+
If the `OpenAPI dev mode check / check-schema-versions` check fails on the release branch, in your local checkout of the mega branch:
47
+
48
+
- run `git checkout origin/main lib/rest/static/*`
49
+
- run `script/rest/update-files.js --decorate-only`
50
+
- push the resulting changes
51
+
50
52
### Before shipping the release branch
51
53
52
54
- [ ] Add the GHES release notes to `data/release-notes/` and update the versioning frontmatter in `content/admin/release-notes.md` to `enterprise-server: '<=<RELEASE>'`
Copy file name to clipboardExpand all lines: .github/workflows/repo-sync.yml
+37-2Lines changed: 37 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -115,7 +115,7 @@ jobs:
115
115
destination_branch: main
116
116
pr_title: 'repo sync'
117
117
pr_body: "This is an automated pull request to sync changes between the public and private repos.\n\n:robot: This pull request should be merged (not squashed) to preserve continuity across repos, so please let a bot do the merging!"
# **What it does**: Sends PRs opened on the crowdin branch to the ready for work column in this board: https://github.com/orgs/github/projects/1269#column-13447153
4
+
# **Why we have it**: To make sure the first responder sees crowdin translations that need to be merged as they review the Task board.
5
+
# **Who does it impact**: Docs localization and Docs Engineering
Copy file name to clipboardExpand all lines: content/actions/guides/building-and-testing-nodejs.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,17 +37,17 @@ We recommend that you have a basic understanding of Node.js, YAML, workflow conf
37
37
38
38
{% data variables.product.prodname_dotcom %} provides a Node.js workflow template that will work for most Node.js projects. This guide includes npm and Yarn examples that you can use to customize the template. For more information, see the [Node.js workflow template](https://github.com/actions/starter-workflows/blob/main/ci/node.js.yml).
39
39
40
-
To get started quickly, add the template to the `.github/workflows` directory of your repository.
40
+
To get started quickly, add the template to the `.github/workflows` directory of your repository. The workflow shown below assumes that the default branch for your repository is `main`.
Copy file name to clipboardExpand all lines: content/actions/guides/building-and-testing-ruby.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,17 +31,17 @@ We recommend that you have a basic understanding of Ruby, YAML, workflow configu
31
31
32
32
{% data variables.product.prodname_dotcom %} provides a Ruby workflow template that will work for most Ruby projects. For more information, see the [Ruby workflow template](https://github.com/actions/starter-workflows/blob/master/ci/ruby.yml).
33
33
34
-
To get started quickly, add the template to the `.github/workflows` directory of your repository.
34
+
To get started quickly, add the template to the `.github/workflows` directory of your repository. The workflow shown below assumes that the default branch for your repository is `main`.
35
35
36
36
{% raw %}
37
37
```yaml
38
38
name: Ruby
39
39
40
40
on:
41
41
push:
42
-
branches: [ $default-branch ]
42
+
branches: [ main ]
43
43
pull_request:
44
-
branches: [ $default-branch ]
44
+
branches: [ main ]
45
45
46
46
jobs:
47
47
test:
@@ -105,9 +105,9 @@ name: Ruby CI
105
105
106
106
on:
107
107
push:
108
-
branches: [ $default-branch ]
108
+
branches: [ main ]
109
109
pull_request:
110
-
branches: [ $default-branch ]
110
+
branches: [ main ]
111
111
112
112
jobs:
113
113
test:
@@ -211,9 +211,9 @@ name: Matrix Testing
211
211
212
212
on:
213
213
push:
214
-
branches: [ $default-branch ]
214
+
branches: [ main ]
215
215
pull_request:
216
-
branches: [ $default-branch ]
216
+
branches: [ main ]
217
217
218
218
jobs:
219
219
test:
@@ -272,11 +272,11 @@ name: Ruby Gem
272
272
on:
273
273
# Manually publish
274
274
workflow_dispatch:
275
-
# Alternatively, publish whenever changes are merged to the default branch.
275
+
# Alternatively, publish whenever changes are merged to the `main` branch.
Copy file name to clipboardExpand all lines: content/actions/learn-github-actions/sharing-workflows-with-your-organization.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,13 +21,13 @@ If you need to share workflows and other {% data variables.product.prodname_acti
21
21
22
22
### Creating a workflow template
23
23
24
-
Workflow templates can be created by users with write access to the organization's `.github` repository. The templates can then be used by organization members who have permission to create workflows. Workflow templates can be used to create new workflows in an organizations' public repositories; to use templates to create workflows in private repositories, the organization must be part of an enterprise or GitHub One plan.
24
+
Workflow templates can be created by users with write access to the organization's `.github` repository. The templates can then be used by organization members who have permission to create workflows. Workflow templates can be used to create new workflows in an organizations' public repositories; to use templates to create workflows in private repositories, the organization must be part of an enterprise plan.
25
25
26
26
This procedure demonstrates how to create a workflow template and metadata file. The metadata file describes how the template is presented to users when they are creating a new workflow.
27
27
28
28
1. If it doesn't already exist, create a new public repository named `.github` in your organization.
29
-
1. Create a directory named `workflow-templates`.
30
-
1. Create your new workflow file inside the `workflow-templates` directory.
29
+
2. Create a directory named `workflow-templates`.
30
+
3. Create your new workflow file inside the `workflow-templates` directory.
31
31
32
32
If you need to refer to a repository's default branch, you can use the `$default-branch` placeholder. When a workflow is created using your template, the placeholder will be automatically replaced with the name of the repository's default branch.
33
33
@@ -52,7 +52,7 @@ This procedure demonstrates how to create a workflow template and metadata file.
52
52
- name: Run a one-line script
53
53
run: echo Hello from Octo Organization
54
54
```
55
-
1. Create a metadata file inside the `workflow-templates` directory. The metadata file must have the same name as the workflow file, but instead of the `.yml` extension, it must be appended with `.properties.json`. For example, this file named `octo-organization-ci.properties.json` contains the metadata for a workflow file named `octo-organization-ci.yml`:
55
+
4. Create a metadata file inside the `workflow-templates` directory. The metadata file must have the same name as the workflow file, but instead of the `.yml` extension, it must be appended with `.properties.json`. For example, this file named `octo-organization-ci.properties.json` contains the metadata for a workflow file named `octo-organization-ci.yml`:
Copy file name to clipboardExpand all lines: content/developers/apps/creating-a-github-app-from-a-manifest.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,7 +179,7 @@ You must complete this step of the GitHub App Manifest flow within one hour.
179
179
{% data reusables.pre-release-program.api-preview-warning %}
180
180
{% endif %}
181
181
182
-
POST /app-manifests/:code/conversions
182
+
POST /app-manifests/{code}/conversions
183
183
184
184
For more information about the endpoint's response, see [Create a GitHub App from a manifest](/rest/reference/apps#create-a-github-app-from-a-manifest).
0 commit comments