Skip to content

Commit

Permalink
Merge pull request #513 from linear-b/fix-md-format
Browse files Browse the repository at this point in the history
fix markdown
  • Loading branch information
vim-zz authored May 13, 2024
2 parents 158f118 + d0185b3 commit ba34895
Showing 1 changed file with 16 additions and 19 deletions.
35 changes: 16 additions & 19 deletions docs/execution-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,9 @@ automations:
reviewers: {{ repo | codeExperts(gt=10) }}
```

- Explain code experts only if the label “suggest-reviewer” exists.
- Explain code experts only if the label “suggest-reviewer” exists.
The automation will be triggered after each commit and after each label addition. If the label “suggest-reviewer” exists, it will trigger the `explain-code-experts` automation

```yaml+jinja
```yaml+jinja
triggers:
on:
- commit
Expand All @@ -152,19 +151,17 @@ automations:
```

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

```yaml+jinja
# Automation in this file will trigger only for branch pattern REGEX_PATTERN
triggers:
include:
branch:
- r/REGEX_PATTERN/
```

```yaml+jinja
# Automations in this file will trigger for all branches except pattern REGEX_PATTERN
triggers:
exclude:
branch:
- r/REGEX_PATTERN/
```
```yaml+jinja
# Automation in this file will trigger only for branch pattern REGEX_PATTERN
triggers:
include:
branch:
- r/REGEX_PATTERN/
```
```yaml+jinja
# Automations in this file will trigger for all branches except pattern REGEX_PATTERN
triggers:
exclude:
branch:
- r/REGEX_PATTERN/
```

0 comments on commit ba34895

Please sign in to comment.