Skip to content

Commit cedfe4d

Browse files
authored
repo sync (#4236)
1 parent 136a6bd commit cedfe4d

File tree

15 files changed

+226
-16
lines changed

15 files changed

+226
-16
lines changed

.github/workflows/browser-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Browser Tests
22

33
on:
44
workflow_dispatch:
5-
push:
6-
branches:
7-
- main
8-
pull_request:
5+
# push:
6+
# branches:
7+
# - main
8+
# pull_request:
99

1010
jobs:
1111
see_if_should_skip:

assets/images/help/desktop/click-branch-in-drop-down.png renamed to assets/images/help/desktop/click-branch-in-drop-down-mac.png

File renamed without changes.

content/github/searching-for-information-on-github/about-searching-on-github.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ You can search for the following information across all repositories you can acc
4545
- [Discussions](/github/searching-for-information-on-github/searching-discussions){% endif %}
4646
- [Code](/articles/searching-code)
4747
- [Commits](/articles/searching-commits)
48-
- [Users](/articles/searching-users){% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@2.1" %}
48+
- [Users](/articles/searching-users){% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@2.21" %}
4949
- [Packages](/github/searching-for-information-on-github/searching-for-packages){% endif %}
5050
- [Wikis](/articles/searching-wikis)
5151

content/github/setting-up-and-managing-your-github-user-account/permission-levels-for-a-user-account-repository.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ The repository owner has full control of the repository. In addition to the acti
3535
| Delete the repository | "[Deleting a repository](/github/administering-a-repository/deleting-a-repository)" |
3636
| Manage the repository's topics | "[Classifying your repository with topics](/github/administering-a-repository/classifying-your-repository-with-topics)" |{% if currentVersion == "free-pro-team@latest" %}
3737
| Manage security and analysis settings for the repository | "[Managing security and analysis settings for your repository](/github/administering-a-repository/managing-security-and-analysis-settings-for-your-repository)" |{% endif %}{% if currentVersion == "free-pro-team@latest" %}
38-
| Enable the dependency graph for a private repository | "[Exploring the dependencies of a repository](/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository#enabling-and-disabling-the-dependency-graph-for-a-private-repository)" |{% endif %}
39-
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %}| Delete and restore packages | "[Deleting and restoring a package](/packages/learn-github-packages/deleting-and-restoring-a-package)" |{% elsif currentVersion ver_lt "enterprise-server@3.1" or currentVersion == "github-ae@latest" %}| Delete packages | "[Deleting packages](/packages/learn-github-packages/deleting-a-package)" |{% endif %}
38+
| Enable the dependency graph for a private repository | "[Exploring the dependencies of a repository](/github/visualizing-repository-data-with-graphs/exploring-the-dependencies-of-a-repository#enabling-and-disabling-the-dependency-graph-for-a-private-repository)" |{% endif %}{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %}
39+
| Delete and restore packages | "[Deleting and restoring a package](/packages/learn-github-packages/deleting-and-restoring-a-package)" |{% endif %}{% if currentVersion == "enterprise-server@2.22" or currentVersion == "enterprise-server@3.0" or currentVersion == "github-ae@latest" %}
40+
| Delete packages | "[Deleting packages](/packages/learn-github-packages/deleting-a-package)" |{% endif %}
4041
| Customize the repository's social media preview | "[Customizing your repository's social media preview](/github/administering-a-repository/customizing-your-repositorys-social-media-preview)" |
4142
| Create a template from the repository | "[Creating a template repository](/github/creating-cloning-and-archiving-repositories/creating-a-template-repository)" |{% if currentVersion == "free-pro-team@latest" or enterpriseServerVersions contains currentVersion %}
4243
| Receive {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.21" %}{% data variables.product.prodname_dependabot_alerts %}{% else %}security alerts{% endif %} for vulnerable dependencies | "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies)" |{% endif %}{% if currentVersion == "free-pro-team@latest" %}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
1. In the left sidebar, click **OAuth Apps**.
2-
![OAuth Apps section](/assets/images/settings/developer-settings-oauth-apps.png)
2+
![OAuth Apps section](/assets/images/help/settings/developer-settings-oauth-apps.png)

lib/render-content/renderContent.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ module.exports = async function renderContent (
6666
.trim()
6767
}
6868

69+
if (options.cheerioObject) {
70+
return cheerio.load(html, { xmlMode: true })
71+
}
72+
6973
if (options.encodeEntities) html = entities.encode(html)
7074

7175
return html.trim()

lib/rest/static/dereferenced/api.github.com.deref.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139709,7 +139709,7 @@
139709139709
"name",
139710139710
"head_sha"
139711139711
],
139712-
"anyOf": [
139712+
"oneOf": [
139713139713
{
139714139714
"properties": {
139715139715
"status": {
@@ -139719,6 +139719,7 @@
139719139719
}
139720139720
},
139721139721
"required": [
139722+
"status",
139722139723
"conclusion"
139723139724
],
139724139725
"additionalProperties": true

lib/rest/static/dereferenced/ghes-2.18.deref.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79203,7 +79203,7 @@
7920379203
"name",
7920479204
"head_sha"
7920579205
],
79206-
"anyOf": [
79206+
"oneOf": [
7920779207
{
7920879208
"properties": {
7920979209
"status": {
@@ -79213,6 +79213,7 @@
7921379213
}
7921479214
},
7921579215
"required": [
79216+
"status",
7921679217
"conclusion"
7921779218
],
7921879219
"additionalProperties": true

lib/rest/static/dereferenced/ghes-2.19.deref.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82135,7 +82135,7 @@
8213582135
"name",
8213682136
"head_sha"
8213782137
],
82138-
"anyOf": [
82138+
"oneOf": [
8213982139
{
8214082140
"properties": {
8214182141
"status": {
@@ -82145,6 +82145,7 @@
8214582145
}
8214682146
},
8214782147
"required": [
82148+
"status",
8214882149
"conclusion"
8214982150
],
8215082151
"additionalProperties": true

lib/rest/static/dereferenced/ghes-2.20.deref.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84244,7 +84244,7 @@
8424484244
"name",
8424584245
"head_sha"
8424684246
],
84247-
"anyOf": [
84247+
"oneOf": [
8424884248
{
8424984249
"properties": {
8425084250
"status": {
@@ -84254,6 +84254,7 @@
8425484254
}
8425584255
},
8425684256
"required": [
84257+
"status",
8425784258
"conclusion"
8425884259
],
8425984260
"additionalProperties": true

0 commit comments

Comments
 (0)