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
10 changes: 5 additions & 5 deletions .github/workflows/api_refs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
jobs:
open_php_api_ref_pr:
name: "PHP & REST API References' PR"
runs-on: ubuntu-latest
runs-on: ubuntu-26.04

steps:
- name: Set version and branches
Expand Down Expand Up @@ -77,7 +77,7 @@
echo "virtual_dxp_version=${virtual_dxp_version}" >> "$GITHUB_OUTPUT"

- name: Checkout documentation
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
ref: ${{ steps.version_and_branches.outputs.base_branch }}

Expand All @@ -96,14 +96,14 @@
coverage: none

- name: Set up node
uses: actions/setup-node@v4
uses: actions/setup-node@v7
- name: Install Redocly CLI
run: npm install -g @redocly/cli@latest

- name: Generate token
id: generate_token
if: inputs.use_dev_version == true
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@v3
with:
app-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
private-key: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
Expand Down Expand Up @@ -159,7 +159,7 @@
fi

- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
uses: peter-evans/create-pull-request@v8
Comment thread
alongosz marked this conversation as resolved.
Dismissed
with:
token: ${{ secrets.EZROBOT_PAT }}
title: "API Refs ${{ steps.version_and_branches.outputs.version }}"
Expand Down
34 changes: 20 additions & 14 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,26 @@
# added or changed files to the repository.
contents: write

runs-on: ubuntu-latest
runs-on: ubuntu-26.04
strategy:
matrix:
python-version: [3.13]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}

- uses: "ramsey/composer-install@v3"
- name: Setup PHP
uses: shivammathur/setup-php@v2
Comment thread
sonarqubecloud[bot] marked this conversation as resolved.
Dismissed
with:
php-version: "8.3"
coverage: none

- uses: "ramsey/composer-install@v4"
Comment thread
alongosz marked this conversation as resolved.
Dismissed
with:
working-directory: "tools/php-cs-fixer"
dependency-versions: highest
Expand All @@ -43,7 +49,7 @@
rm yarn.lock

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v7
Comment thread
alongosz marked this conversation as resolved.
Dismissed
with:
commit_message: PHP & JS CS Fixes

Expand All @@ -66,13 +72,13 @@
fi

python-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v7
with:
python-version: "3.13"

Expand All @@ -85,23 +91,23 @@
run: pytest

markdownlint:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
if: github.event_name == 'pull_request'

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Run markdownlint
uses: DavidAnson/markdownlint-cli2-action@v20
uses: DavidAnson/markdownlint-cli2-action@v24
Comment thread
alongosz marked this conversation as resolved.
Dismissed
with:
globs: "docs/**/*.md"

vale-check:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
if: github.event_name == 'pull_request'

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Get Vale.sh configs
env:
Expand All @@ -114,7 +120,7 @@
mv vale/vale-styles-main/* vale/vale-styles-main/.vale.ini .

- name: Run Vale.sh
uses: vale-cli/vale-action@v2
uses: vale-cli/vale-action@v3
Comment thread
alongosz marked this conversation as resolved.
Dismissed
with:
reporter: github-check
filter_mode: added
22 changes: 11 additions & 11 deletions .github/workflows/code_samples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
jobs:
code-samples-validation:
name: Validate code samples
runs-on: "ubuntu-22.04"
runs-on: "ubuntu-26.04"
strategy:
fail-fast: false
matrix:
php:
- "8.4" # Upper supported version
- "8.3" # Lower supported version
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
Expand All @@ -26,7 +26,7 @@

- name: Generate token
id: generate_token
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@v3
with:
app-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
private-key: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
Expand All @@ -41,7 +41,7 @@
SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }}
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}

- uses: ramsey/composer-install@v3
- uses: ramsey/composer-install@v4
Comment thread
alongosz marked this conversation as resolved.
Dismissed
with:
dependency-versions: highest

Expand All @@ -54,7 +54,7 @@

code-samples-inclusion-check:
name: Check code samples inclusion
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
if: github.event_name == 'pull_request'
permissions:
# Needed to manage the comment
Expand All @@ -72,7 +72,7 @@

- name: Checkout target branch (base_ref)
if: steps.list.outputs.CODE_SAMPLES_CHANGE != ''
uses: actions/checkout@v3
uses: actions/checkout@v7
with:
ref: ${{ github.base_ref }}
- name: Log target branch code_samples usage
Expand All @@ -87,7 +87,7 @@

- name: Checkout source branch (head_ref)
if: steps.list.outputs.CODE_SAMPLES_CHANGE != ''
uses: actions/checkout@v3
uses: actions/checkout@v7
with:
ref: ${{ github.head_ref }}
- name: Log source branch code_samples usage
Expand Down Expand Up @@ -117,7 +117,7 @@
- name: Upload code_samples usages differences artifact
id: artifact
if: steps.list.outputs.CODE_SAMPLES_CHANGE != '' && steps.diff.outputs.CODE_SAMPLES_DIFF != '0'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: code_samples_usage.diff.html
path: ~/code_samples_usage.diff.html
Expand All @@ -140,14 +140,14 @@
fi
- name: Find Comment
id: find-comment
uses: peter-evans/find-comment@v3
uses: peter-evans/find-comment@v4
Comment thread
alongosz marked this conversation as resolved.
Dismissed
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: 'code_samples/ change report'
- name: Delete comment
if: steps.find-comment.outputs.comment-id != ''
uses: actions/github-script@v6
uses: actions/github-script@v9
with:
script: |
github.rest.issues.deleteComment({
Expand All @@ -157,7 +157,7 @@
})
- name: Create comment
if: steps.list.outputs.CODE_SAMPLES_CHANGE != '' && steps.diff.outputs.CODE_SAMPLES_DIFF != '0'
uses: peter-evans/create-or-update-comment@v4
uses: peter-evans/create-or-update-comment@v5
Comment thread
alongosz marked this conversation as resolved.
Dismissed
with:
issue-number: ${{ github.event.pull_request.number }}
body-path: code_samples_usage.diff.md
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/link_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@

jobs:
link-check:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
strategy:
matrix:
python-version: [3.13]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Generate token
id: generate_token
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@v3
with:
app-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
private-key: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
Expand All @@ -59,7 +59,7 @@
"https://github.com/ibexa/documentation-connect"

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -82,7 +82,7 @@

- name: Restore lychee cache
if: ${{ !inputs.force_recheck }}
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: .lycheecache
key: lychee-${{ github.ref_name }}-${{ github.sha }}
Expand All @@ -106,6 +106,6 @@

- name: Comment broken links
if: always() && github.event_name == 'pull_request'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v3
Comment thread
alongosz marked this conversation as resolved.
Dismissed
with:
path: lychee-report.md
8 changes: 4 additions & 4 deletions .github/workflows/preview_comment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
jobs:
post-preview-links:
name: 'Post preview links for changed files'
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
permissions:
# Needed to manage the comment
pull-requests: write
# Needed to checkout private repositories
contents: read

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Fetch base branch for comparison
run: git fetch origin ${{ github.base_ref }} --depth=1
Expand Down Expand Up @@ -66,14 +66,14 @@

- name: Find comment
id: find-comment
uses: peter-evans/find-comment@v3
uses: peter-evans/find-comment@v4
Comment thread
alongosz marked this conversation as resolved.
Dismissed
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: 'Preview of modified files'

- name: Create or update comment
uses: peter-evans/create-or-update-comment@v4
uses: peter-evans/create-or-update-comment@v5
Comment thread
alongosz marked this conversation as resolved.
Dismissed
with:
comment-id: ${{ steps.find-comment.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release_composer_package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:

jobs:
determine-branches:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
outputs:
branches: ${{ steps.set.outputs.branches }}
devdoc_branch: ${{ steps.set.outputs.devdoc_branch }}
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:

release:
needs: determine-branches
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
permissions:
# Needed to commit the generated Markdown and push a tag.
contents: write
Expand All @@ -68,7 +68,7 @@ jobs:
# pushed to the branch itself (see below), only tagged, so the diff target is
# the latest tag β€” fetched individually in "Find the last tag" instead of
# pulling the full history + every daily tag snapshot (which took minutes).
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
ref: ${{ needs.determine-branches.outputs.devdoc_branch || matrix.branch }}

Expand All @@ -80,7 +80,7 @@ jobs:
path: user-docs

- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v7
with:
python-version: "3.13"

Expand All @@ -101,7 +101,7 @@ jobs:

- name: Generate token
id: generate_token
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@v3
with:
app-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
private-key: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
Expand All @@ -118,7 +118,7 @@ jobs:

# Needed to resolve the PHP API classes referenced by the docs to
# their vendor/ source paths (dump_class_paths.php).
- uses: ramsey/composer-install@a8d0d959dab41457692a5e2041bd9b757a119e3f #v3.2.1
- uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda #4.0.0
with:
dependency-versions: highest

Expand Down
Loading