Skip to content

Commit 2b77774

Browse files
committed
Merge branch 'PORTN-3437-add-action-run-catalog-guide-clarify-run-payload' of https://github.com/port-labs/port-docs into PORTN-3437-add-action-run-catalog-guide-clarify-run-payload
2 parents 8adbeb3 + b3ef6c1 commit 2b77774

File tree

128 files changed

+9497
-3545
lines changed

Some content is hidden

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

128 files changed

+9497
-3545
lines changed

.github/workflows/claude-pr-reviewer.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: Claude Docs PR Reviewer
22
on:
3-
pull_request:
4-
types:
5-
- synchronize
6-
- reopened
7-
- opened
8-
branches:
9-
- main
3+
# pull_request:
4+
# types:
5+
# - synchronize
6+
# - reopened
7+
# - opened
8+
# branches:
9+
# - main
1010
workflow_dispatch:
1111

1212
jobs:
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v5
2121
with:
2222
fetch-depth: 1
2323

@@ -40,7 +40,7 @@ jobs:
4040
id-token: write
4141
steps:
4242
- name: Checkout repository
43-
uses: actions/checkout@v4
43+
uses: actions/checkout@v5
4444
with:
4545
fetch-depth: 1
4646

.github/workflows/sync-docs-with-mapping-config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ jobs:
1313

1414
steps:
1515
- name: Checkout port-docs (automation tools)
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v5
1717
with:
1818
path: port-docs
1919

2020
- name: Checkout ocean-test (YAML configs source)
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v5
2222
with:
2323
repository: ${{ github.repository_owner }}/ocean-test
2424
token: ${{ secrets.MAPPING_PAT }}
2525
path: ocean-test
2626
ref: main
2727

2828
- name: Checkout Port-monorepo (TypeScript source)
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v5
3030
with:
3131
repository: ${{ github.repository_owner }}/Port-monorepo
3232
token: ${{ secrets.MAPPING_PAT }}

.github/workflows/updateApiSpec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
# Step 1: Checkout the repository
1818
- name: Checkout repository
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v5
2020
with:
2121
fetch-depth: 0 # Fetch all history for accurate diff
2222

.github/workflows/verify-docs-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
name: Test successful production build
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v5
2222
with:
2323
persist-credentials: true
2424
- name: Install dependencies

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,7 @@ yarn-error.log*
2424
.vscode
2525

2626
#workflow cache
27-
.github/script/__pycache__
27+
.github/script/__pycache__
28+
29+
# Generated guide metadata
30+
src/components/guides-section/guide-metadata.json

docs/actions-and-automations/create-self-service-experiences/set-self-service-actions-rbac/dynamic-permissions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ This is particularly important for sensitive operations like production deployme
355355
}
356356
},
357357
"conditions": [
358-
"[.results.approvingUsers.entities[] | select(.identifier != \"{{.trigger.user.email}}\") | .identifier]"
358+
".trigger.user.email as $executor | [.results.approvingUsers.entities[] | select(.identifier != $executor) | .identifier]"
359359
]
360360
}
361361
}
@@ -376,7 +376,7 @@ Here's what's happening in each part:
376376

377377
3. **The Key Condition**:
378378
```json
379-
"[.results.approvingUsers.entities[] | select(.identifier != \"{{.trigger.user.email}}\") | .identifier]"
379+
".trigger.user.email as $executor | [.results.approvingUsers.entities[] | select(.identifier != $executor) | .identifier]"
380380
```
381381
This JQ expression:
382382
- Takes all moderator users from our query results.

0 commit comments

Comments
 (0)