Skip to content

Commit 87801c1

Browse files
authored
spelling and grammer fixes (#799)
1 parent 52cd82c commit 87801c1

File tree

11 files changed

+31
-31
lines changed

11 files changed

+31
-31
lines changed

docs/automation-actions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ For all other actions, gitStream executes the actions in the order they are list
4848

4949
#### Dynamic actions arguments
5050

51-
Arguments values a dynamic value is supported using expressions based on Jinja2 syntax, and includes gitStream context variables, for example:
51+
Argument values support dynamic values using expressions based on Jinja2 syntax, and include gitStream context variables, for example:
5252

5353
```yaml+jinja
5454
automations:
@@ -263,7 +263,7 @@ automations:
263263

264264
#### `close` :fontawesome-brands-github: :fontawesome-brands-gitlab: :fontawesome-brands-bitbucket:
265265

266-
This action, once triggered, close the PR without merging.
266+
This action, once triggered, closes the PR without merging.
267267

268268
```yaml+jinja title="example"
269269
automations:

docs/automations/automation-library.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,5 @@ These examples provide useful components to use in other automations. These aren
6969

7070
## Contribute Your Idea
7171

72-
!!! tip "Do you Have a great idea for an automation that should be included in this library?"
72+
!!! tip "Do you have a great idea for an automation that should be included in this library?"
7373
[Submit your configuration](https://github.com/linear-b/gitStream/issues/new?assignees=&labels=new-example&template=new_automation_example.md&title=New+Example%3A+) on GitHub. We'll recognize your contribution publicly (if you want) and might even send you some special swag for your contribution.

docs/automations/languages/html/review-css-important/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Flag the use of `!important` in CSS files and automatically request changes.
2121
Automation Actions:
2222

2323
* Apply an orange label that says `⚠️ Includes !important tag`
24-
* Request changes an post a comment asking the PR author to remove the important tage.
24+
* Request changes and post a comment asking the PR author to remove the important tag.
2525

2626
</div>
2727
<div class="automationExample" markdown="1">

docs/context-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Context Variables enable gitStream to extract useful data from PRs.
44
---
55
# Context variables
66

7-
Context variable are the inputs for the automation conditions or checks.
7+
Context variables are the inputs for the automation conditions or checks.
88

99
!!! Legend
1010

docs/custom-github-app.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ You can now set up gitStream for a single repo, your GitHub organization or acro
184184
```
185185

186186
**GitHub Actions**
187-
Once your gitStream configuration file is setup, you need a Github Actions configuration file to trigger gitStream automations. Create a `.github/workflows/gitstream.yml` file in your repository's default branch (usually `master` or `main`) and add the following configuration:
187+
Once your gitStream configuration file is setup, you need a GitHub Actions configuration file to trigger gitStream automations. Create a `.github/workflows/gitstream.yml` file in your repository's default branch (usually `master` or `main`) and add the following configuration:
188188

189189
```yaml+jinja
190190
--8<-- "docs/downloads/gitstream.yml"
@@ -223,7 +223,7 @@ You can now set up gitStream for a single repo, your GitHub organization or acro
223223

224224
**GitHub Actions**
225225

226-
Once your gitStream configuration file is set up, you will need to create a Github Actions configuration file to trigger gitStream automations. Create a `.github/workflows/gitstream.yml` file in your `cm` repository's default branch (usually `master` or `main`) and add the following configuration:
226+
Once your gitStream configuration file is set up, you will need to create a GitHub Actions configuration file to trigger gitStream automations. Create a `.github/workflows/gitstream.yml` file in your `cm` repository's default branch (usually `master` or `main`) and add the following configuration:
227227

228228
```yaml+jinja
229229
--8<-- "docs/downloads/gitstream.yml"
@@ -259,7 +259,7 @@ You can now set up gitStream for a single repo, your GitHub organization or acro
259259

260260
**GitHub Actions**
261261

262-
Once your gitStream configuration file is set up, you will need to create a Github Actions configuration file to trigger gitStream automations. Create a `.github/workflows/gitstream.yml` file in your `cm` repository's default branch (usually `master` or `main`) and add the following configuration:
262+
Once your gitStream configuration file is set up, you will need to create a GitHub Actions configuration file to trigger gitStream automations. Create a `.github/workflows/gitstream.yml` file in your `cm` repository's default branch (usually `master` or `main`) and add the following configuration:
263263

264264
```yaml+jinja
265265
--8<-- "docs/downloads/gitstream.yml"

docs/examples.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ description: Build your first gitStream automation in as little as two minutes.
44
---
55
# gitStream Quickstart
66

7-
This page contains common gitStream configurations that are a great place to begin adopting a continuous merge mindset with gitStream. If you haven't already, you'll need to install gitStream to your [GitHub](github-installation.md) or [GitLab](gitlab-installation.md) organization before you can use these automations
7+
This page contains common gitStream configurations that are a great place to begin adopting a continuous merge mindset with gitStream. If you haven't already, you'll need to install gitStream to your [GitHub](github-installation.md) or [GitLab](gitlab-installation.md) organization before you can use these automations.
88

99
!!! tip "Build your first gitStream automation in as little as two minutes."
10-
These example are complete gitStream configuration files that you can download directly via the buttons below the examples and upload to the `.cm` directory of your repo. Alternatively, you can copy and paste the individual automations, but make sure you include all required declarations and any related custom expressions from the configuration to ensure everything works properly.
10+
These examples are complete gitStream configuration files that you can download directly via the buttons below the examples and upload to the `.cm` directory of your repo. Alternatively, you can copy and paste the individual automations, but make sure you include all required declarations and any related custom expressions from the configuration to ensure everything works properly.
1111

1212
## Improve PR Context with Label Automation
1313

14-
This CM automation contains a collection of workflows to automatically apply labels that to provide deeper context to code reviewers to help them more quickly triage and address incoming requests for reviews. Ideally, you should implement these automations across your entire git organization to maximize developer usage.
14+
This CM automation contains a collection of workflows to automatically apply labels to provide deeper context to code reviewers to help them more quickly triage and address incoming requests for reviews. Ideally, you should implement these automations across your entire git organization to maximize developer usage.
1515

1616
The following example includes workflow automations to do the following:
1717

docs/execution-model.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ gitStream automations are triggered by events related to pull requests (PRs). Yo
3131

3232
By default, gitStream evaluates any new commit pushed to the PR, triggering automation evaluation.
3333

34-
Additionally, if any of the automation rules reference the following [`pr`](context-variables.md#pr) context variables: `pr.comments`, `pr.title`, `pr.description`, or `pr.labels`, gitStream shall trigger and will initiate automation rules evaluation where there are changes to the PR comments, title, description, or labels respectfully.
34+
Additionally, if any of the automation rules reference the following [`pr`](context-variables.md#pr) context variables: `pr.comments`, `pr.title`, `pr.description`, or `pr.labels`, gitStream shall trigger and will initiate automation rules evaluation where there are changes to the PR comments, title, description, or labels respectively.
3535

3636
This allows for greater flexibility in the automation process, ensuring that the relevant automation rules are evaluated and triggered when necessary. The execution model ensures the automation process is streamlined, efficient, and effective.
3737

@@ -317,7 +317,7 @@ automations:
317317

318318
#### Branch regex pattern
319319

320-
Trigger only specific automations branch pattern A, and trigger other automation for all other branches except those that fit the pattern REGEX_PATTERN
320+
Trigger only specific automations branch pattern A, and trigger other automation for all other branches except those that fit the pattern REGEX_PATTERN.
321321

322322
```yaml+jinja
323323
# Automation in this file will trigger only for branch pattern REGEX_PATTERN

docs/filter-functions.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ The following functions are supported in addition to the built-in functions prov
2323
| --------------------------------------------------------------------------------------------------------------------- | ---------------------- | ------------------------------- | ---------------------- |
2424
| [`capture`](#capture)<br />Find and return the first occurrence of a regex in the input string | String | `regex` | String |
2525
| [`difference`](#difference)<br />Given two lists, keep only items that are in the 1st list but not in the 2nd. | [Objects] | `list` | [Objects] |
26-
| [`every`](#every)<br />Checks whether all element in the list are `true` | [Bool] | - | Bool |
26+
| [`every`](#every)<br />Checks whether all elements in the list are `true` | [Bool] | - | Bool |
2727
| [`filter`](#filter)<br />Reduce list of items into a list of same items that match the specified term | [String]<br />[Object] | `regex`, `term`, `list`, `attr` | [String]<br />[Object] |
2828
| [`includes`](#match)<br />Check if substring match | String | `regex`, `term`, `list` | Bool |
2929
| [`intersection`](#intersection)<br />Given two lists, keep only items that are in both lists. | [Objects] | `list` | [Objects] |
3030
| [`map`](#map)<br />Maps each object in a list into their specified attribute value | [Object] | `attr` | [Object] |
3131
| [`match`](#match)<br />Maps list of items into a list of booleans that match the specified term | [String]<br />[Object] | `regex`, `term`, `list` `attr` | [Bool] |
32-
| [`nope`](#nope)<br />Checks whether all element in the list are `false` | [Bool] | - | Bool |
32+
| [`nope`](#nope)<br />Checks whether all elements in the list are `false` | [Bool] | - | Bool |
3333
| [`reject`](#reject)<br />Inverse of [`filter`](#filter), the result list contains non-matching items | [String]<br />[Object] | `regex`, `term`, `list`, `attr` | [String]<br />[Object] |
3434
| [`some`](#some)<br />Checks whether at least one element in the list is `true` | [Bool] | - | Bool |
3535

@@ -42,7 +42,7 @@ The following functions are supported in addition to the built-in functions prov
4242

4343
| Function | Input | Args | Output |
4444
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------- | -------------------------------------------------- | ----------------------- |
45-
| [`allDocs`](#alldocs)<br />Checks the list includes only images | [`files`](./context-variables.md#files) | - | Bool |
45+
| [`allDocs`](#alldocs)<br />Checks if the list includes only documents | [`files`](./context-variables.md#files) | - | Bool |
4646
| [`allImages`](#allimages)<br />Checks the list includes only images | [`files`](./context-variables.md#files) | - | Bool |
4747
| [`allTests`](#alltests)<br />Checks the list includes only tests | [`files`](./context-variables.md#files) | - | Bool |
4848
| [`checkDependabot`](#checkdependabot)<br />Extract version bump information from Dependabot PRs description | String - PR description | - | [String] |
@@ -55,9 +55,9 @@ The following functions are supported in addition to the built-in functions prov
5555
| [`extractJitFindings`](#extractjitfindings) :fontawesome-brands-github: <br />Get an object with a summary of the findings found by the Jit scan | [`pr`](./context-variables.md#pr) | - | Object |
5656
| [`extractSonarFindings`](#extractsonarfindings) :fontawesome-brands-github: <br />Get an object with a summary of the findings found by the SonarCloud scan | [`pr`](./context-variables.md#pr) | - | Object |
5757
| [`explainRankByGitBlame`](#explainrankbygitblame)<br />Short markdown text explaining rankByGitBlame results | [`repo`](./context-variables.md#repo) | `gt`, `lt` | [String] |
58-
| [`isFirstCommit`](#isfirstcommit)<br />Checks if its the author first commit in the repo | [`repo.contributors`](./context-variables.md#repo) | String | Bool |
58+
| [`isFirstCommit`](#isfirstcommit)<br />Checks if it's the author's first commit in the repo | [`repo.contributors`](./context-variables.md#repo) | String | Bool |
5959
| [`isFormattingChange`](#isformattingchange)<br />Checks that only formatting changed | [[`FileDiff` ](./context-variables.md#filediff-structure)] | - | Bool |
60-
| [`mapToEnum`](#maptoenum)<br />return the enum value matches to the input key | String | Enum object | Object |
60+
| [`mapToEnum`](#maptoenum)<br />return the enum value that matches the input key | String | Enum object | Object |
6161
| [`matchDiffLines`](#matchdifflines)<br />Match every line in diff | [[`FileDiff` ](./context-variables.md#filediff-structure)] | `regex`, `ignoreWhiteSpaces` | [Bool] |
6262
| [`rankByGitActivity`](#rankbygitactivity)<br />Get list of contributors based on `git-commit` activity | [`repo`](./context-variables.md#repo) | `gt`, `lt` | [String] |
6363
| [`rankByGitBlame`](#rankbygitblame)<br />Get list of contributors based on `git-blame` results | [`repo`](./context-variables.md#repo) | `gt`, `lt` | [String] |
@@ -123,7 +123,7 @@ Given two lists, keep only items that are in the 1st list but not in the 2nd.
123123

124124
#### `every`
125125

126-
Checks whether all element in the list are `true`. In case the list of elements is empty, it will return `false`.
126+
Checks whether all elements in the list are `true`. In case the list of elements is empty, it will return `false`.
127127

128128
<div class="filter-details" markdown=1>
129129

@@ -623,7 +623,7 @@ For example, check that only one file type was changed:
623623

624624
!!! Warning ":fontawesome-brands-github: Available in GitHub only"
625625

626-
This filter is currently availalbe only in GitHub
626+
This filter is currently available only in GitHub
627627

628628
Get an object with a summary of the findings found by [Jit](https://www.jit.io/) scan. This filter is relevant only for repos that use Jit to scan PRs
629629

@@ -708,7 +708,7 @@ automations:
708708
#### `extractSonarFindings`
709709
!!! Warning ":fontawesome-brands-github: Available in GitHub only"
710710

711-
This filter is currently availalbe only in GitHub
711+
This filter is currently available only in GitHub
712712

713713
Get an object with a summary of the findings found by the SonarCloud scan. This filter is relevant only for repos that use SonarCloud to scan PRs
714714

@@ -842,15 +842,15 @@ Note the comment starts with `|` and a `new-line` as `explainRankByGitBlame` gen
842842

843843
#### `isFirstCommit`
844844

845-
Return `true` if it's the author first commit in the repo.
845+
Return `true` if it's the author's first commit in the repo.
846846

847847
<div class="filter-details" markdown=1>
848848

849849
| Argument | Usage | Type | Description |
850850
| ------------ | ---------|--------|------------------------------------------------ |
851851
| - | Input | [`repo.contributors`](./context-variables.md#repo) | List of contributors in the repo |
852852
| - | Input | String | The contributor name |
853-
| - | Output | Bool | `true` if its the first commit of the selected contributor |
853+
| - | Output | Bool | `true` if it's the author's first commit of the selected contributor |
854854

855855
</div>
856856

0 commit comments

Comments
 (0)