Skip to content

Commit

Permalink
Merge pull request #274 from linear-b/assorted-updates
Browse files Browse the repository at this point in the history
More SEO fixes and template adjustments
  • Loading branch information
vim-zz authored Aug 2, 2023
2 parents 981fb28 + 28ef3f7 commit a6f46ee
Show file tree
Hide file tree
Showing 36 changed files with 387 additions and 51 deletions.
14 changes: 12 additions & 2 deletions docs/automations/additional-review-for-large-pr/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Additional Review for Large PRs
title: Automation - Additional Review for Large PRs
description: Require extra code reviews for large PRs.
---
# Additional Review for Large PRs
Expand Down Expand Up @@ -31,4 +31,14 @@ Require 2 reviewers for PRs that have more than 10 changed files in the src dire
<span>
[:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/additional_review_for_large_pr.cm){ .md-button }
</span>
</div>
</div>

## Additional Resources

--8<-- "docs/snippets/general.md"

**Related Automations**:

--8<-- "docs/snippets/review-assignment-automation.md:2:"

--8<-- "docs/snippets/automation-footer.md"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Approve JavaScript Formatting Changes
title: Automation - Approve JavaScript Formatting Changes
description: Automatically approve PRs that only change JavaScript formatting.
---
# Approve JavaScript Formatting Changes
Expand Down
14 changes: 12 additions & 2 deletions docs/automations/approve-javascript-log-output/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Approve JavaScript Log Output Changes
title: Automation - Approve JavaScript Log Output Changes
description: Automatically approve PRs that only change JavaScript log output.
---
# Approve JavaScript Log Output Changes
Expand All @@ -25,4 +25,14 @@ Automation Actions:
<span>
[:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/approve_javascript_log_output.cm){ .md-button }
</span>
</div>
</div>

## Additional Resources

--8<-- "docs/snippets/general.md"

**Related Automations**:

--8<-- "docs/snippets/javascript-automation.md:2:"

--8<-- "docs/snippets/automation-footer.md"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Approve Python Formatting Changes
title: Automation - Approve Python Formatting Changes
description: Automatically approve PRs that only contain Python formatting changes.
---
# Approve Python Formatting Changes
Expand Down
14 changes: 12 additions & 2 deletions docs/automations/approve-python-log-output/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Approve Python Log Output Changes
title: Automation - Approve Python Log Output Changes
description: Automatically approve PRs that only affect Python log output.
---
# Approve Python Log Output Changes
Expand All @@ -25,4 +25,14 @@ Automation Actions:
<span>
[:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/approve_python_log_output.cm){ .md-button }
</span>
</div>
</div>

## Additional Resources

--8<-- "docs/snippets/general.md"

**Related Automations**:

--8<-- "docs/snippets/python-automation.md:2:"

--8<-- "docs/snippets/automation-footer.md"
2 changes: 1 addition & 1 deletion docs/automations/approve-safe-changes/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Approve Safe Changes
title: Automation - Approve Safe Changes
description: Automatically approve PRs that change docs, tests, and other safe assets.
---
# Approve Safe Changes
Expand Down
2 changes: 1 addition & 1 deletion docs/automations/approve-team-by-directory/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Approve Trusted Team
title: Automation - Approve Trusted Team
description: Automatically approve PRs from trusted teams.
---
# Approve Trusted Team
Expand Down
14 changes: 12 additions & 2 deletions docs/automations/approve-tests/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Approve test changes
title: Automation - Approve test changes
description: Automatically approve changes that only contains updates to tests.
---
# Approve test changes
Expand Down Expand Up @@ -29,4 +29,14 @@ Label and approve PRs that only include tests, and post an explanation comment.
<span>
[:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/approve_tests.cm){ .md-button }
</span>
</div>
</div>

## Additional Resources

--8<-- "docs/snippets/general.md"

**Related Automations**:

--8<-- "docs/snippets/safe-merge-automation.md"

--8<-- "docs/snippets/automation-footer.md"
2 changes: 1 addition & 1 deletion docs/automations/approve-tiny-changes/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Approve Tiny Changes
title: Automation - Approve Tiny Changes
description: Automatically approve small PRs.
---
# Approve Tiny Changes
Expand Down
15 changes: 13 additions & 2 deletions docs/automations/assign-code-experts/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Assign Code Experts
title: Automation - Assign Code Experts
description: Automatically assign PR reviewers based on code expertise.
---
# Assign Code Experts
Expand Down Expand Up @@ -30,4 +30,15 @@ When someone applies a `suggest-reviewers` label to a PR, use codeExperts to ass
[:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/assign_code_experts.cm){ .md-button }
</span>
</div>
</div>
</div>

## Additional Resources

--8<-- "docs/snippets/general.md"

**Related Automations**:

--8<-- "docs/snippets/review-assignment-automation.md::1"
--8<-- "docs/snippets/review-assignment-automation.md:3:"

--8<-- "docs/snippets/automation-footer.md"
15 changes: 13 additions & 2 deletions docs/automations/assign-reviewers-by-directory/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Assign Reviewers by Directory
title: Automation - Assign Reviewers by Directory
description: Automatically assign reviewers based on a watch list of files and directories.
---
# Assign Reviewers by Directory
Expand Down Expand Up @@ -30,4 +30,15 @@ Automatically assign code reviewers based on directory structure. Optionally, yo
[:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/assign_reviewers_by_directory.cm){ .md-button }
</span>
</div>
</div>
</div>

## Additional Resources

--8<-- "docs/snippets/general.md"

**Related Automations**:

--8<-- "docs/snippets/review-assignment-automation.md::2"
--8<-- "docs/snippets/review-assignment-automation.md:4:"

--8<-- "docs/snippets/automation-footer.md"
14 changes: 12 additions & 2 deletions docs/automations/assign-team-members-as-reviewers/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Assign team members as reviewers
title: Automation - Assign team members as reviewers
description: Automatically assign teammates to review PRs.
---
# Assign team members as reviewers
Expand All @@ -16,4 +16,14 @@ You can also omit the `| first` filter to assign all teams the owner is member o
<span>
[:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/name.cm){ .md-button }
</span>
</div>
</div>

## Additional Resources

--8<-- "docs/snippets/general.md"

**Related Automations**:

--8<-- "docs/snippets/review-assignment-automation.md"

--8<-- "docs/snippets/automation-footer.md"
15 changes: 13 additions & 2 deletions docs/automations/change-deprecated-components/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Change Deprecated Components
title: Automation - Change Deprecated Components
description: Automatically detect the use of deprecated components and services in PRs.
---
# Change Deprecated Components
Expand Down Expand Up @@ -30,4 +30,15 @@ Request changes when a PR includes one or more deprecated components.
[:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/change_deprecated_components.cm){ .md-button }
</span>
</div>
</div>
</div>

## Additional Resources

--8<-- "docs/snippets/general.md"

**Related Automations**:

--8<-- "docs/snippets/change-request-automation.md::1"
--8<-- "docs/snippets/change-request-automation.md:3:"

--8<-- "docs/snippets/automation-footer.md"
14 changes: 12 additions & 2 deletions docs/automations/change-missing-lambda-field/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Change Missing Lambda Field
title: Automation - Change Missing Lambda Field
description: Detect missing Lambda fields that are required in all PRs.
---
# Change Missing Lambda Field
Expand Down Expand Up @@ -31,4 +31,14 @@ If a PR creates a new Lambda function, but lacks a description field, gitStream
[:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/change_missing_lambda_field.cm){ .md-button }
</span>
</div>
</div>
</div>

## Additional Resources

--8<-- "docs/snippets/general.md"

**Related Automations**:

--8<-- "docs/snippets/change-request-automation.md"

--8<-- "docs/snippets/automation-footer.md"
15 changes: 13 additions & 2 deletions docs/automations/close-wrong-team-by-directory/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Close Wrong Team by Directory
title: Automation - Close Wrong Team by Directory
description: Automatically close PRs to protected portions of your code.
---
# Close Wrong Team by Directory
Expand Down Expand Up @@ -31,4 +31,15 @@ Close PRs to a specified directory if the PR author is not on an approved team.
[:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/close_wrong_team_by_directory.cm){ .md-button }
</span>
</div>
</div>
</div>

## Additional Resources

--8<-- "docs/snippets/general.md"

**Related Automations**:

--8<-- "docs/snippets/change-request-automation.md::2"
--8<-- "docs/snippets/change-request-automation.md:4:"

--8<-- "docs/snippets/automation-footer.md"
15 changes: 13 additions & 2 deletions docs/automations/label-deleted-files/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Label Deleted Files
title: Automation - Label Deleted Files
description: Label PRs that delete files.
---
# Label Deleted Files
Expand Down Expand Up @@ -29,4 +29,15 @@ Label PRs that delete files.
[:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/label_deleted_files.cm){ .md-button }
</span>
</div>
</div>
</div>

## Additional Resources

--8<-- "docs/snippets/general.md"

**Related Automations**:

--8<-- "docs/snippets/context-automation.md::2"
--8<-- "docs/snippets/context-automation.md:4:"

--8<-- "docs/snippets/automation-footer.md"
15 changes: 13 additions & 2 deletions docs/automations/label-prs-without-tests/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Label PRs Without Tests
title: Automation - Label PRs Without Tests
description: Automatically label PRs that lack required tests.
---
# Label PRs Without Tests
Expand Down Expand Up @@ -28,4 +28,15 @@ Apply a `missing-tests` label to any PRs that don't update tests. gitStream will
[:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/label_prs_without_tests.cm){ .md-button }
</span>
</div>
</div>
</div>

## Additional Resources

--8<-- "docs/snippets/general.md"

**Related Automations**:

--8<-- "docs/snippets/context-automation.md::3"
--8<-- "docs/snippets/context-automation.md:5:"

--8<-- "docs/snippets/automation-footer.md"
19 changes: 17 additions & 2 deletions docs/automations/languages/css/review-css-important/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
title: Automation - Flag CSS Important Tags
description: Automatically request changes when PRs that include !important tags.
---
# Review Important Tags in CSS Files

Short description
Flag the use of `!important` in CSS files and automatically request changes.

<div class="automationImage" markdown="1">
![Review Important Tags in CSS Files](review-css-important.png)
Expand Down Expand Up @@ -28,4 +32,15 @@ Short description
[:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/languages/css/review_css_important.cm){ .md-button }
</span>
</div>
</div>
</div>

## Additional Resources

--8<-- "docs/snippets/general.md"

**Related Automations**:

--8<-- "docs/snippets/change-request-automation.md::3"
--8<-- "docs/snippets/change-request-automation.md:5:"

--8<-- "docs/snippets/automation-footer.md"
15 changes: 13 additions & 2 deletions docs/automations/percent-new-code/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: gitStream Automation - Calculate the Percentage of New Code
title: Automation - Calculate the Percentage of New Code
description: Indicate the amount of new code contained in a PR.
---
# Calculate the Percentage of New Code
Expand Down Expand Up @@ -28,4 +28,15 @@ Post a comment that indicates what percentage of the PR contains new code.
[:octicons-download-24: Download this example as a CM file.](/downloads/automation-library/percent_new_code.cm){ .md-button }
</span>
</div>
</div>
</div>

## Additional Resources

--8<-- "docs/snippets/general.md"

**Related Automations**:

--8<-- "docs/snippets/context-automation.md::4"
--8<-- "docs/snippets/context-automation.md:6:"

--8<-- "docs/snippets/automation-footer.md"
Loading

0 comments on commit a6f46ee

Please sign in to comment.