Skip to content
Merged
Show file tree
Hide file tree
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
25 changes: 6 additions & 19 deletions .github/workflows/code_samples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,13 @@ jobs:
extensions: "pdo_sqlite, gd"
tools: cs2pr

- name: Generate token
id: generate_token
uses: actions/create-github-app-token@v3
- uses: ibexa/gh-workflows/actions/composer-install@main
with:
app-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
private-key: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
owner: ${{ github.repository_owner }}

- name: Add composer keys for private packagist
run: |
composer config --global http-basic.updates.ibexa.co $SATIS_NETWORK_KEY $SATIS_NETWORK_TOKEN
composer config --global github-oauth.github.com $GITHUB_TOKEN
env:
SATIS_NETWORK_KEY: ${{ secrets.SATIS_NETWORK_KEY }}
SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }}
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}

- uses: ramsey/composer-install@v4
with:
dependency-versions: highest
php-version: ${{ matrix.php }}
gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }}
satis-network-token: ${{ secrets.SATIS_NETWORK_TOKEN }}

- name: Run code sample quality tests
id: phpstan
Expand Down
2 changes: 2 additions & 0 deletions docs/permissions/limitation_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ As this is a generic limitation, you can configure your custom limitations to us
Out of the box FunctionList uses it in the following way:

``` yaml
services:

# FunctionList is an ezjscore limitation, it only applies to ezjscore policies not used by
# API/platform stack, so configure to use Blocking limitation to avoid LimitationNotFoundException
ibexa.api.role.limitation_type.function_list:
Expand Down
7 changes: 1 addition & 6 deletions tests/yaml-validation-baseline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -322,11 +322,6 @@ ignoreErrors:
line: 237
hash: e6259973305f42d67138e6b99f919b28b817968c03743bc8533540a5d3453d12
message: '~The child config "list" under "ibexa\.siteaccess" must be configured\: Available SiteAccess list~'
-
path: docs/permissions/limitation_reference.md
line: 28
hash: c989b346cda18ba902f44d6dfb2aa9129a1da96c87fcd7be9df0f84710155ebc
message: '~Unable to parse at line 3 \(near " ibexa\.api\.role\.limitation_type\.function_list\:"\)\.~'
-
path: docs/product_catalog/enable_purchasing_products.md
line: 106
Expand All @@ -349,7 +344,7 @@ ignoreErrors:
message: '~Unrecognized option "require_previous_session" under "security\.firewalls\.ezpublish_front\.form_login"\. Available options are "always_use_default_target_path", "check_path", "csrf_parameter", "csrf_token_id", "default_target_path", "enable_csrf", "failure_forward", "failure_handler", "failure_path", "failure_path_parameter", "form_only", "login_path", "password_parameter", "post_only", "provider", "remember_me", "success_handler", "target_path_parameter", "use_forward", "use_referer", "username_parameter"\.~'
-
path: docs/release_notes/ibexa_dxp_v5.0.md
line: 85
line: 84
hash: 7d4a5637a3e036ebcdc5a4be8282aebe2bfcbaee3222981b81f739ae773111d0
message: '~The child config "path" under "ibexa\.repositories\.\<repository\>\.mcp\.\<server\>" must be configured\: MCP server path~'
-
Expand Down
Loading