Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion docs/managed-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ automations:
- action: code-review@v1
args:
guidelines: {{ loadReviewGuidelines() | dump }}

is:
bot_author: {{ pr.author | match(list=[\"github-actions\", \"_bot_\", \"[bot]\", \"dependabot\"]) | some }}
Comment on lines +24 to +25
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you remove the escaping in all exmaples please (they come becase i took it from logs)

Suggested change
is:
bot_author: {{ pr.author | match(list=[\"github-actions\", \"_bot_\", \"[bot]\", \"dependabot\"]) | some }}
is:
bot_author: {{ pr.author | match(list=["github-actions", "_bot_", "[bot]", "dependabot"]) | some }}

```

### AI PR Description
Expand All @@ -36,6 +39,9 @@ automations:
args:
concat_mode: append
guidelines: {{ loadDescriptionGuidelines() | dump }}

is:
bot_author: {{ pr.author | match(list=[\"github-actions\", \"_bot_\", \"[bot]\", \"dependabot\"]) | some }}
```

### Smart Labeling (Agent Coding Detection)
Expand Down Expand Up @@ -96,7 +102,7 @@ Label all PRs with an estimated number of minutes it would take someone to revie
automations:
estimated_time_to_review:
if:
- true
- {{ not is.bot_author }}
run:
- action: add-label@v1
args:
Expand All @@ -110,6 +116,9 @@ colors:
red: 'b60205'
yellow: 'fbca04'
green: '0e8a16'

is:
bot_author: {{ pr.author | match(list=[\"github-actions\", \"_bot_\", \"[bot]\", \"dependabot\"]) | some }}
```

### Dependabot Minor Bump Auto-Approve
Expand Down