Skip to content

Commit 54c80ca

Browse files
authored
Merge pull request #583 from cghyzel/main
Fix formatting issues on label-management & branch-management pages
2 parents 647591c + 12cde6b commit 54c80ca

File tree

10 files changed

+103
-8
lines changed

10 files changed

+103
-8
lines changed

docs/automations/standard/branch-management/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Use gitStream to enforce branch naming conventions, review assignment, and other
1515

1616
<a name="enforce-branch-name"></a>
1717
## Enforce Branch Naming Conventions
18-
--8<-- "docs/automations/standard/branch-management/enforce-branch-name/README.md:6:"
18+
19+
--8<-- "docs/automations/standard/branch-management/enforce-branch-name/README.md:example"
1920

2021
## Additional Resources
2122

docs/automations/standard/branch-management/enforce-branch-name/README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Automatically enforce prefixes or keywords in PR branch names.
44
category: [review, quality]
55
---
66
# Enforce Branch Naming Conventions
7-
7+
<!-- --8<-- [start:example]-->
88
Automatically enforce prefixes or keywords in PR branch names.
99

1010
![Enforce Branch Naming Conventions](/automations/standard/branch-management/enforce-branch-name/enforce-branch-name.png)
@@ -30,3 +30,14 @@ Automatically enforce prefixes or keywords in PR branch names.
3030
[:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/standard/branch-management/enforce_branch_name.cm){ .md-button }
3131
</span>
3232
</div>
33+
<!-- --8<-- [end:example]-->
34+
35+
## Additional Resources
36+
37+
--8<-- "docs/snippets/general.md"
38+
39+
**Related Automations**:
40+
41+
--8<-- "docs/snippets/review-assignment-automation.md"
42+
43+
--8<-- "docs/snippets/automation-footer.md"

docs/automations/standard/label-management/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,27 @@ Use YAML to automate label management on your git repo with gitStream.
99

1010
<a name="enforce-required-labels"></a>
1111
## Enforce Required Labels
12-
--8<-- "docs/automations/standard/label-management/enforce-labels/README.md:6:"
12+
--8<-- "docs/automations/standard/label-management/enforce-labels/README.md:example"
1313

1414
<a name="label-changed-resources"></a>
1515
## Label Modified Resources
16-
--8<-- "docs/automations/standard/label-management/label-resources-percent/README.md:6:"
16+
--8<-- "docs/automations/standard/label-management/label-resources-percent/README.md:example"
1717

1818
<a name="label-languages"></a>
1919
## Label PRs by Language
2020
--8<-- "docs/automations/standard/label-management/label-prs-by-language/README.md:example"
2121

2222
<a name="label-unresolved-threads"></a>
2323
## Label the Number of Unresolved Code Review Threads
24-
--8<-- "docs/automations/standard/label-management/label-unresolved-threads/README.md:6:"
24+
--8<-- "docs/automations/standard/label-management/label-unresolved-threads/README.md:example"
2525

2626
<a name="suggest-labels"></a>
2727
## Automatically Recommend Labels for New PRs
28-
--8<-- "docs/automations/standard/label-management/suggest-labels/README.md:6:"
28+
--8<-- "docs/automations/standard/label-management/suggest-labels/README.md:example"
2929

3030
<a name="label-approvals"></a>
3131
## Label PRs with the Number of Approvals
32-
--8<-- "docs/automations/standard/label-management/label-approvals/README.md:6:"
32+
--8<-- "docs/automations/standard/label-management/label-approvals/README.md:example"
3333

3434
## Additional Resources
3535

docs/automations/standard/label-management/enforce-labels/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: Automatically enforce the use of required PR labels.
44
category: [review, quality]
55
---
66
# Enforce Required Labels
7+
<!-- --8<-- [start:example]-->
78
Automatically enforce the use of required PR labels.
89

910
<div class="automationImage" markdown="1">
@@ -32,3 +33,14 @@ Automatically enforce the use of required PR labels.
3233
</span>
3334
</div>
3435
</div>
36+
<!-- --8<-- [end:example]-->
37+
38+
## Additional Resources
39+
40+
--8<-- "docs/snippets/general.md"
41+
42+
**Related Automations**:
43+
44+
--8<-- "docs/snippets/context-automation.md"
45+
46+
--8<-- "docs/snippets/automation-footer.md"

docs/automations/standard/label-management/label-approvals/README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Automatically label PRs with the number of completed reviews that a
44
category: [review]
55
---
66
# Label the Number of Approvals
7-
7+
<!-- --8<-- [start:example]-->
88
Automatically label PRs with the number of completed reviews that approve the PR.
99

1010
<div class="automationImage" markdown="1">
@@ -32,3 +32,15 @@ Automatically label PRs with the number of completed reviews that approve the PR
3232
</span>
3333
</div>
3434
</div>
35+
36+
<!-- --8<-- [end:example]-->
37+
38+
## Additional Resources
39+
40+
--8<-- "docs/snippets/general.md"
41+
42+
**Related Automations**:
43+
44+
--8<-- "docs/snippets/context-automation.md"
45+
46+
--8<-- "docs/snippets/automation-footer.md"

docs/automations/standard/label-management/label-modified-resources/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,13 @@ Automatically label PRs to indicate what resources are being changed.
2828
</div>
2929

3030
<!-- --8<-- [end:example]-->
31+
32+
## Additional Resources
33+
34+
--8<-- "docs/snippets/general.md"
35+
36+
**Related Automations**:
37+
38+
--8<-- "docs/snippets/context-automation.md"
39+
40+
--8<-- "docs/snippets/automation-footer.md"

docs/automations/standard/label-management/label-prs-by-language/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,13 @@ Automatically detect which programming languages are contained in PRs and automa
3030
</div>
3131

3232
<!-- --8<-- [end:example]-->
33+
34+
## Additional Resources
35+
36+
--8<-- "docs/snippets/general.md"
37+
38+
**Related Automations**:
39+
40+
--8<-- "docs/snippets/context-automation.md"
41+
42+
--8<-- "docs/snippets/automation-footer.md"

docs/automations/standard/label-management/label-resources-percent/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: Automatically label PRs based on changes to code resources.
44
category: [review]
55
---
66
# Label Changed Resources By Percent
7+
<!-- --8<-- [start:example]-->
78

89
Apply a label to all PRs that indicates what percentage of new lines of code modify one or more specified resources.
910

@@ -32,3 +33,15 @@ Apply a label to all PRs that indicates what percentage of new lines of code mod
3233
</span>
3334
</div>
3435
</div>
36+
37+
<!-- --8<-- [end:example]-->
38+
39+
## Additional Resources
40+
41+
--8<-- "docs/snippets/general.md"
42+
43+
**Related Automations**:
44+
45+
--8<-- "docs/snippets/context-automation.md"
46+
47+
--8<-- "docs/snippets/automation-footer.md"

docs/automations/standard/label-management/label-unresolved-threads/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ category: [security]
55
quickstart: true
66
---
77
# Label Unresolved Review Threads
8+
<!-- --8<-- [start:example]-->
89
Automatically label PRs when there are unresolved code review comments.
910

1011
<div class="automationImage" markdown="1">
@@ -32,3 +33,15 @@ Automatically label PRs when there are unresolved code review comments.
3233
</span>
3334
</div>
3435
</div>
36+
37+
<!-- --8<-- [end:example]-->
38+
39+
## Additional Resources
40+
41+
--8<-- "docs/snippets/general.md"
42+
43+
**Related Automations**:
44+
45+
--8<-- "docs/snippets/context-automation.md"
46+
47+
--8<-- "docs/snippets/automation-footer.md"

docs/automations/standard/label-management/suggest-labels/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: Automatically suggest labels to apply to new PRs.
44
category: [review]
55
---
66
# Suggest Labels
7+
<!-- --8<-- [start:example]-->
78
Automatically suggest labels to apply to new PRs.
89

910
<div class="automationImage" markdown="1">
@@ -31,3 +32,15 @@ Automatically suggest labels to apply to new PRs.
3132
</span>
3233
</div>
3334
</div>
35+
36+
<!-- --8<-- [end:example]-->
37+
38+
## Additional Resources
39+
40+
--8<-- "docs/snippets/general.md"
41+
42+
**Related Automations**:
43+
44+
--8<-- "docs/snippets/context-automation.md"
45+
46+
--8<-- "docs/snippets/automation-footer.md"

0 commit comments

Comments
 (0)