Skip to content

Commit c1a425b

Browse files
authored
Merge branch 'main' into PORT-14552-github-team-user-folder-docs
2 parents 4e9b6d7 + 4e3af15 commit c1a425b

File tree

83 files changed

+5386
-811
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+5386
-811
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Claude Docs PR Reviewer
2+
on:
3+
pull_request:
4+
types:
5+
- synchronize
6+
- reopened
7+
- opened
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
jobs:
13+
check-if-to-trigger:
14+
name: Check if to trigger
15+
outputs:
16+
changed_files: ${{ steps.changed-files.outputs.any_changed }}
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 1
23+
24+
- name: Check for changed files
25+
id: changed-files
26+
uses: tj-actions/changed-files@v46
27+
with:
28+
files: |
29+
docs/**
30+
31+
claude-docs-pr-reviewer:
32+
name: Claude Docs PR Reviewer
33+
needs: check-if-to-trigger
34+
if: needs.check-if-to-trigger.outputs.changed_files == 'true' && github.event.pull_request.head.repo.full_name == 'port-labs/port-docs'
35+
runs-on: ubuntu-latest
36+
permissions:
37+
contents: read
38+
pull-requests: read
39+
issues: read
40+
id-token: write
41+
steps:
42+
- name: Checkout repository
43+
uses: actions/checkout@v4
44+
with:
45+
fetch-depth: 1
46+
47+
- name: Configure Git
48+
run: |
49+
git config --global user.name "Port Claude AI"
50+
git config --global user.email "[email protected]"
51+
52+
- name: Run Claude PR Action
53+
uses: anthropics/claude-code-action@beta
54+
with:
55+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
56+
allowed_tools: "Bash(git:*),Bash(gh:*),Bash(jq:*),Bash(yq:*),View,GlobTool,GrepTool,BatchTool"
57+
direct_prompt: |
58+
Please review the following PR and provide a detailed review of the changes according the ./CONTRIBUTING.md provide results in markdown format.
59+
timeout_minutes: "15"

docs/actions-and-automations/define-automations/setup-trigger.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,13 @@ The table below describes the fields in the JSON structure under the `trigger` k
247247
| **`type`** | The automation's trigger type. Should be set to `automation`. |
248248
| **`event`** | An object containing data about the event that triggers the automation. |
249249
| **`event.type`** | The [trigger event type](/actions-and-automations/define-automations/setup-trigger#available-triggers). |
250-
| **`event.blueprintIdentifier`**<br/>or<br/>**`event.actionIdentifier`** | If using an *entity trigger* - the identifier of the blueprint whose entities will trigger the automation.<br/>If using an *action run trigger* - the identifier of the action whose runs will trigger the automation. |
250+
| **`event.blueprintIdentifier`**<br/>or<br/>**`event.actionIdentifier`** | If using an *entity trigger* - the identifier of the blueprint whose entities will trigger the automation.<br/>If using an *action run trigger* - the identifier of the action/automation whose runs will trigger the automation. |
251251
| `condition` | An optional object containing `jq` expressions used to determine which entities the automation will be triggered for. |
252252
| `condition.type` | The type of condition. Should be set to `JQ`. |
253253
| `condition.expressions` | An array of expressions used to filter the entities for which the automation will be triggered. |
254254
| `condition.combinator` | The combinator used to combine the expressions. Should be set to `and` or `or`. |
255+
256+
:::tip Automation action identifiers
257+
When using the `actionIdentifier` key, you can use an identifier that belongs to an automation as well.
258+
This means that automations can be triggered by other automations and are not limited to self-service actions.
259+
:::

docs/actions-and-automations/setup-backend/webhook/webhook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Alternatively, you can set the execution type to **synchronous**, which will cau
7878
### HTTP method
7979

8080
By default, a `POST` request will be sent to the specified endpoint URL.
81-
You can change the request to any of the supported types: `POST`, `PUT`, `DELETE`, or `PATCH`.
81+
You can change the request to any of the supported types: `POST`, `GET`, `PUT`, `DELETE`, or `PATCH`.
8282

8383
## Trigger Port API
8484

docs/ai-agents/_category_.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"label": "AI agents",
2+
"label": "AI agents & MCP server",
33
"position": 9,
44
"className": "custom-sidebar-item sidebar-menu-ai-agents"
5-
}
5+
}

0 commit comments

Comments
 (0)