Skip to content

Commit e9b2148

Browse files
authored
Merge branch 'main' into sidebar-assignee-menu
2 parents b7dc6f4 + 38cfcb7 commit e9b2148

10 files changed

Lines changed: 16 additions & 64 deletions

File tree

.github/workflows/repo-freeze-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Fail if repo merges are paused
25-
if: ${{ env.FREEZE == 'true' }}
25+
if: ${{ env.FREEZE == 'true' && github.ref != 'refs/heads/repo-sync' }}
2626
run: |
2727
echo 'Merges into the "main" branch on this repo are currently paused!'
2828
exit 1

.github/workflows/repo-sync-stalls.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,7 @@ on:
55
schedule:
66
- cron: '0 */2 * * *'
77

8-
env:
9-
FREEZE: ${{ secrets.FREEZE }}
10-
118
jobs:
12-
check-freezer:
13-
name: Check for deployment freezes
14-
runs-on: ubuntu-latest
15-
steps:
16-
- name: Exit if repo is frozen
17-
if: ${{ env.FREEZE == 'true' }}
18-
run: |
19-
echo 'The repo is currently frozen! Exiting this workflow.'
20-
exit 1 # prevents further steps from running
21-
229
repo-sync-stalls:
2310
runs-on: ubuntu-latest
2411
steps:
@@ -60,7 +47,7 @@ jobs:
6047
})
6148
- name: Send Slack notification if workflow fails
6249
uses: someimportantcompany/github-actions-slack-message@0b470c14b39da4260ed9e3f9a4f1298a74ccdefd
63-
if: ${{ failure() && env.FREEZE != 'true' }}
50+
if: ${{ failure() }}
6451
with:
6552
channel: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
6653
bot-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}

.github/workflows/repo-sync.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,10 @@ on:
1111
schedule:
1212
- cron: '*/15 * * * *' # every 15 minutes
1313

14-
env:
15-
FREEZE: ${{ secrets.FREEZE }}
16-
1714
jobs:
18-
check-freezer:
19-
name: Check for deployment freezes
20-
runs-on: ubuntu-latest
21-
steps:
22-
- name: Exit if repo is frozen
23-
if: ${{ env.FREEZE == 'true' }}
24-
run: |
25-
echo 'The repo is currently frozen! Exiting this workflow.'
26-
exit 1 # prevents further steps from running
27-
2815
repo-sync:
2916
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
3017
name: Repo Sync
31-
needs: check-freezer
3218
runs-on: ubuntu-latest
3319
steps:
3420
- name: Check out repo

content/actions/managing-workflow-runs/adding-a-workflow-status-badge.md

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -12,52 +12,31 @@ versions:
1212

1313
{% data reusables.repositories.actions-workflow-status-badge-into %}
1414

15-
If your workflow uses the `name` keyword, you must reference the workflow by name. If the name of your workflow contains white space, you'll need to replace the space with the URL encoded string `%20`. For more information about the `name` keyword, see "[Workflow syntax for {% data variables.product.prodname_actions %}](/articles/workflow-syntax-for-github-actions#name)."
15+
You reference the workflow by the name of your workflow file.
1616

1717
```
18-
https://github.com/<OWNER>/<REPOSITORY>/workflows/<WORKFLOW_NAME>/badge.svg
18+
https://github.com/<OWNER>/<REPOSITORY>/actions/workflows/<WORKFLOW_FILE>/badge.svg
1919
```
20+
### Using the workflow file name
2021

21-
Alternatively, if your workflow doesn't have a `name`, you must reference the workflow file using the file path relative to the repository's root directory.
22-
23-
{% note %}
24-
25-
**Note:** Referencing the workflow file using the file path does not work if the workflow has a `name`.
26-
27-
{% endnote %}
28-
29-
```
30-
https://github.com/<OWNER>/<REPOSITORY>/workflows/<WORKFLOW_FILE_PATH>/badge.svg
31-
```
32-
33-
### Using a workflow name
34-
35-
This Markdown example adds a status badge for a workflow with the name "Greet Everyone." The `OWNER` of the repository is the `actions` organization and the `REPOSITORY` name is `hello-world`.
36-
37-
```markdown
38-
![example workflow name](https://github.com/actions/hello-world/workflows/Greet%20Everyone/badge.svg)
39-
```
40-
41-
### Using a workflow file path
42-
43-
This Markdown example adds a status badge for a workflow with the file path `.github/workflows/main.yml`. The `OWNER` of the repository is the `actions` organization and the `REPOSITORY` name is `hello-world`.
22+
This Markdown example adds a status badge for a workflow with the file path `.github/workflows/main.yml`. The `OWNER` of the repository is the `github` organization and the `REPOSITORY` name is `docs`.
4423

4524
```markdown
46-
![example workflow file path](https://github.com/actions/hello-world/workflows/.github/workflows/main.yml/badge.svg)
25+
![example workflow](https://github.com/github/docs/actions/workflows/main.yml/badge.svg)
4726
```
4827

4928
### Using the `branch` parameter
5029

5130
This Markdown example adds a status badge for a branch with the name `feature-1`.
5231

5332
```markdown
54-
![example branch parameter](https://github.com/actions/hello-world/workflows/Greet%20Everyone/badge.svg?branch=feature-1)
33+
![example branch parameter](https://github.com/github/docs/actions/workflows/main.yml/badge.svg?branch=feature-1)
5534
```
5635

5736
### Using the `event` parameter
5837

5938
This Markdown example adds a badge that displays the status of workflow runs triggered by the `pull_request` event.
6039

6140
```markdown
62-
![example event parameter](https://github.com/actions/hello-world/workflows/Greet%20Everyone/badge.svg?event=pull_request)
41+
![example event parameter](https://github.com/github/docs/actions/workflows/main.yml/badge.svg?event=pull_request)
6342
```

content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The `dig` command, which can be used to verify correct configuration of DNS reco
3535

3636
### Configuring a subdomain
3737

38-
To set up a `www` or custom subdomain, such as `www.example.com` or `blog.example.com`, you must create a _CNAME_ file in your site's repository and configure a `CNAME` record with your DNS provider.
38+
To set up a `www` or custom subdomain, such as `www.example.com` or `blog.example.com`, you must add your domain in the repository settings, which will create a CNAME file in your sites repository. After that, configure a CNAME record with your DNS provider.
3939

4040
{% data reusables.pages.navigate-site-repo %}
4141
{% data reusables.repositories.sidebar-settings %}

data/graphql/ghae/schema.docs-ghae.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37067,7 +37067,7 @@ type VerifiableDomain implements Node {
3706737067
id: ID!
3706837068

3706937069
"""
37070-
Whether this domain is required to exist for an organization policy to be enforced.
37070+
Whether this domain is required to exist for an organization or enterprise policy to be enforced.
3707137071
"""
3707237072
isRequiredForPolicyEnforcement: Boolean!
3707337073

data/graphql/schema.docs.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40380,7 +40380,7 @@ type VerifiableDomain implements Node {
4038040380
id: ID!
4038140381

4038240382
"""
40383-
Whether this domain is required to exist for an organization policy to be enforced.
40383+
Whether this domain is required to exist for an organization or enterprise policy to be enforced.
4038440384
"""
4038540385
isRequiredForPolicyEnforcement: Boolean!
4038640386

lib/graphql/static/prerendered-objects.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

lib/graphql/static/schema-dotcom.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55978,7 +55978,7 @@
5597855978
},
5597955979
{
5598055980
"name": "isRequiredForPolicyEnforcement",
55981-
"description": "<p>Whether this domain is required to exist for an organization policy to be enforced.</p>",
55981+
"description": "<p>Whether this domain is required to exist for an organization or enterprise policy to be enforced.</p>",
5598255982
"type": "Boolean!",
5598355983
"id": "boolean",
5598455984
"kind": "scalars",

lib/graphql/static/schema-ghae.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51817,7 +51817,7 @@
5181751817
},
5181851818
{
5181951819
"name": "isRequiredForPolicyEnforcement",
51820-
"description": "<p>Whether this domain is required to exist for an organization policy to be enforced.</p>",
51820+
"description": "<p>Whether this domain is required to exist for an organization or enterprise policy to be enforced.</p>",
5182151821
"type": "Boolean!",
5182251822
"id": "boolean",
5182351823
"kind": "scalars",

0 commit comments

Comments
 (0)