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
18 changes: 9 additions & 9 deletions .github/workflows/cla.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: CLA check

on:
issue_comment:
types: [created]
pull_request_target:
types: [opened, closed, synchronize]
issue_comment:
types: [created]
pull_request_target:
types: [opened, closed, synchronize]

jobs:
cla-workflow:
uses: pimcore/workflows-collection-public/.github/workflows/reusable-cla-check.yaml@v1.3.0
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
secrets:
CLA_ACTION_ACCESS_TOKEN: ${{ secrets.CLA_ACTION_ACCESS_TOKEN }}
cla-workflow:
uses: pimcore/workflows-collection-public/.github/workflows/reusable-cla-check.yaml@main
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
secrets:
CLA_ACTION_ACCESS_TOKEN: ${{ secrets.CLA_ACTION_ACCESS_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:

jobs:
php-style:
uses: pimcore/workflows-collection-public/.github/workflows/reusable-php-cs-fixer.yaml@fix-failed-workflow
uses: pimcore/workflows-collection-public/.github/workflows/reusable-php-cs-fixer.yaml@main
with:
head_ref: ${{ github.head_ref || github.ref_name }}
repository: ${{ github.repository }}
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/php-cs-fixer.yaml.bak

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ on:
- 'doc/**'
- 'install/**'
- 'src/Resources/public/**'
- '**.md'
push:
paths-ignore:
- 'assets/**'
- 'assets-customized/**'
- 'doc/**'
- 'install/**'
- 'src/Resources/public/**'
- '**.md'
branches:
- "[0-9]+.[0-9]+"
- "[0-9]+.x"
Expand All @@ -28,12 +30,13 @@ env:
PRIVATE_REPO: ${{ github.event.repository.private }}

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
setup-matrix:
runs-on: ubuntu-latest
timeout-minutes: 10
outputs:
php_versions: ${{ steps.parse-php-versions.outputs.php_versions }}
phpstan_matrix: ${{ steps.set-matrix.outputs.phpstan_matrix }}
Expand Down Expand Up @@ -69,6 +72,10 @@ jobs:
php_versions="${{ steps.parse-php-versions.outputs.php_versions }}"
MATRIX_JSON=$(cat reusable-workflows/phpstan-configuration/matrix-config.json)
FILTERED_MATRIX_JSON=$(echo "$MATRIX_JSON" | jq --arg php_versions "$php_versions" '{ include: [ .configs[] | select(.php_version == $php_versions) | .matrix[] ] }')
if [ "$(echo "$FILTERED_MATRIX_JSON" | jq '.include | length')" = "0" ]; then
echo "::error::No matrix configuration found for PHP versions '$php_versions'"
exit 1
fi
ENCODED_MATRIX_JSON=$(echo "$FILTERED_MATRIX_JSON" | jq -c .)
echo "phpstan_matrix=$ENCODED_MATRIX_JSON" >> "$GITHUB_OUTPUT"

Expand Down
95 changes: 0 additions & 95 deletions .github/workflows/static-analysis.yml.bak

This file was deleted.

Loading