From 0d285aff503d7379e120642d8a6b4e7115697166 Mon Sep 17 00:00:00 2001 From: Chris Ghyzel Date: Wed, 4 Sep 2024 16:00:41 -0700 Subject: [PATCH 1/2] fix formatting on branch management page --- .../standard/branch-management/README.md | 3 ++- .../branch-management/enforce-branch-name/README.md | 13 ++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/automations/standard/branch-management/README.md b/docs/automations/standard/branch-management/README.md index baa5c92a..331d76a3 100644 --- a/docs/automations/standard/branch-management/README.md +++ b/docs/automations/standard/branch-management/README.md @@ -15,7 +15,8 @@ Use gitStream to enforce branch naming conventions, review assignment, and other ## Enforce Branch Naming Conventions ---8<-- "docs/automations/standard/branch-management/enforce-branch-name/README.md:6:" + +--8<-- "docs/automations/standard/branch-management/enforce-branch-name/README.md:example" ## Additional Resources diff --git a/docs/automations/standard/branch-management/enforce-branch-name/README.md b/docs/automations/standard/branch-management/enforce-branch-name/README.md index 3adb1436..f969a38f 100644 --- a/docs/automations/standard/branch-management/enforce-branch-name/README.md +++ b/docs/automations/standard/branch-management/enforce-branch-name/README.md @@ -4,7 +4,7 @@ description: Automatically enforce prefixes or keywords in PR branch names. category: [review, quality] --- # Enforce Branch Naming Conventions - + Automatically enforce prefixes or keywords in PR branch names. ![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. [:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/standard/branch-management/enforce_branch_name.cm){ .md-button } + + +## Additional Resources + +--8<-- "docs/snippets/general.md" + +**Related Automations**: + +--8<-- "docs/snippets/review-assignment-automation.md" + +--8<-- "docs/snippets/automation-footer.md" \ No newline at end of file From 12cde6bd9ec04f71a8a6b256284954ac9acf677e Mon Sep 17 00:00:00 2001 From: Chris Ghyzel Date: Wed, 4 Sep 2024 16:12:43 -0700 Subject: [PATCH 2/2] fix formatting on label management page --- .../standard/label-management/README.md | 10 +++++----- .../label-management/enforce-labels/README.md | 12 ++++++++++++ .../label-management/label-approvals/README.md | 14 +++++++++++++- .../label-modified-resources/README.md | 10 ++++++++++ .../label-prs-by-language/README.md | 10 ++++++++++ .../label-resources-percent/README.md | 13 +++++++++++++ .../label-unresolved-threads/README.md | 13 +++++++++++++ .../label-management/suggest-labels/README.md | 13 +++++++++++++ 8 files changed, 89 insertions(+), 6 deletions(-) diff --git a/docs/automations/standard/label-management/README.md b/docs/automations/standard/label-management/README.md index 92ffd88e..1a18c791 100644 --- a/docs/automations/standard/label-management/README.md +++ b/docs/automations/standard/label-management/README.md @@ -9,11 +9,11 @@ Use YAML to automate label management on your git repo with gitStream. ## Enforce Required Labels ---8<-- "docs/automations/standard/label-management/enforce-labels/README.md:6:" +--8<-- "docs/automations/standard/label-management/enforce-labels/README.md:example" ## Label Modified Resources ---8<-- "docs/automations/standard/label-management/label-resources-percent/README.md:6:" +--8<-- "docs/automations/standard/label-management/label-resources-percent/README.md:example" ## Label PRs by Language @@ -21,15 +21,15 @@ Use YAML to automate label management on your git repo with gitStream. ## Label the Number of Unresolved Code Review Threads ---8<-- "docs/automations/standard/label-management/label-unresolved-threads/README.md:6:" +--8<-- "docs/automations/standard/label-management/label-unresolved-threads/README.md:example" ## Automatically Recommend Labels for New PRs ---8<-- "docs/automations/standard/label-management/suggest-labels/README.md:6:" +--8<-- "docs/automations/standard/label-management/suggest-labels/README.md:example" ## Label PRs with the Number of Approvals ---8<-- "docs/automations/standard/label-management/label-approvals/README.md:6:" +--8<-- "docs/automations/standard/label-management/label-approvals/README.md:example" ## Additional Resources diff --git a/docs/automations/standard/label-management/enforce-labels/README.md b/docs/automations/standard/label-management/enforce-labels/README.md index 532f9d0c..c6a02189 100644 --- a/docs/automations/standard/label-management/enforce-labels/README.md +++ b/docs/automations/standard/label-management/enforce-labels/README.md @@ -4,6 +4,7 @@ description: Automatically enforce the use of required PR labels. category: [review, quality] --- # Enforce Required Labels + Automatically enforce the use of required PR labels.
@@ -32,3 +33,14 @@ Automatically enforce the use of required PR labels.
+ + +## Additional Resources + +--8<-- "docs/snippets/general.md" + +**Related Automations**: + +--8<-- "docs/snippets/context-automation.md" + +--8<-- "docs/snippets/automation-footer.md" \ No newline at end of file diff --git a/docs/automations/standard/label-management/label-approvals/README.md b/docs/automations/standard/label-management/label-approvals/README.md index 3411d62a..a1e36817 100644 --- a/docs/automations/standard/label-management/label-approvals/README.md +++ b/docs/automations/standard/label-management/label-approvals/README.md @@ -4,7 +4,7 @@ description: Automatically label PRs with the number of completed reviews that a category: [review] --- # Label the Number of Approvals - + Automatically label PRs with the number of completed reviews that approve the PR.
@@ -32,3 +32,15 @@ Automatically label PRs with the number of completed reviews that approve the PR
+ + + +## Additional Resources + +--8<-- "docs/snippets/general.md" + +**Related Automations**: + +--8<-- "docs/snippets/context-automation.md" + +--8<-- "docs/snippets/automation-footer.md" \ No newline at end of file diff --git a/docs/automations/standard/label-management/label-modified-resources/README.md b/docs/automations/standard/label-management/label-modified-resources/README.md index 586f6db4..460a1561 100644 --- a/docs/automations/standard/label-management/label-modified-resources/README.md +++ b/docs/automations/standard/label-management/label-modified-resources/README.md @@ -28,3 +28,13 @@ Automatically label PRs to indicate what resources are being changed. + +## Additional Resources + +--8<-- "docs/snippets/general.md" + +**Related Automations**: + +--8<-- "docs/snippets/context-automation.md" + +--8<-- "docs/snippets/automation-footer.md" diff --git a/docs/automations/standard/label-management/label-prs-by-language/README.md b/docs/automations/standard/label-management/label-prs-by-language/README.md index db54837f..b1e169fa 100644 --- a/docs/automations/standard/label-management/label-prs-by-language/README.md +++ b/docs/automations/standard/label-management/label-prs-by-language/README.md @@ -30,3 +30,13 @@ Automatically detect which programming languages are contained in PRs and automa + +## Additional Resources + +--8<-- "docs/snippets/general.md" + +**Related Automations**: + +--8<-- "docs/snippets/context-automation.md" + +--8<-- "docs/snippets/automation-footer.md" \ No newline at end of file diff --git a/docs/automations/standard/label-management/label-resources-percent/README.md b/docs/automations/standard/label-management/label-resources-percent/README.md index 4a16defe..02dd2184 100644 --- a/docs/automations/standard/label-management/label-resources-percent/README.md +++ b/docs/automations/standard/label-management/label-resources-percent/README.md @@ -4,6 +4,7 @@ description: Automatically label PRs based on changes to code resources. category: [review] --- # Label Changed Resources By Percent + Apply a label to all PRs that indicates what percentage of new lines of code modify one or more specified resources. @@ -32,3 +33,15 @@ Apply a label to all PRs that indicates what percentage of new lines of code mod + + + +## Additional Resources + +--8<-- "docs/snippets/general.md" + +**Related Automations**: + +--8<-- "docs/snippets/context-automation.md" + +--8<-- "docs/snippets/automation-footer.md" \ No newline at end of file diff --git a/docs/automations/standard/label-management/label-unresolved-threads/README.md b/docs/automations/standard/label-management/label-unresolved-threads/README.md index 3441c375..c6b9bd2f 100644 --- a/docs/automations/standard/label-management/label-unresolved-threads/README.md +++ b/docs/automations/standard/label-management/label-unresolved-threads/README.md @@ -5,6 +5,7 @@ category: [security] quickstart: true --- # Label Unresolved Review Threads + Automatically label PRs when there are unresolved code review comments.
@@ -32,3 +33,15 @@ Automatically label PRs when there are unresolved code review comments.
+ + + +## Additional Resources + +--8<-- "docs/snippets/general.md" + +**Related Automations**: + +--8<-- "docs/snippets/context-automation.md" + +--8<-- "docs/snippets/automation-footer.md" \ No newline at end of file diff --git a/docs/automations/standard/label-management/suggest-labels/README.md b/docs/automations/standard/label-management/suggest-labels/README.md index 141ef3f6..3c9eae64 100644 --- a/docs/automations/standard/label-management/suggest-labels/README.md +++ b/docs/automations/standard/label-management/suggest-labels/README.md @@ -4,6 +4,7 @@ description: Automatically suggest labels to apply to new PRs. category: [review] --- # Suggest Labels + Automatically suggest labels to apply to new PRs.
@@ -31,3 +32,15 @@ Automatically suggest labels to apply to new PRs.
+ + + +## Additional Resources + +--8<-- "docs/snippets/general.md" + +**Related Automations**: + +--8<-- "docs/snippets/context-automation.md" + +--8<-- "docs/snippets/automation-footer.md" \ No newline at end of file