From fa4a99c12ae571d9ec386e121c2fb9a3cdafa763 Mon Sep 17 00:00:00 2001 From: Stefan Hagspiel Date: Mon, 18 Nov 2024 10:09:28 +0100 Subject: [PATCH] adjust ecs workflow --- .github/workflows/ecs-fix.yml | 37 ++++++++++++++++------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ecs-fix.yml b/.github/workflows/ecs-fix.yml index 6d4dff5f..e47aed49 100644 --- a/.github/workflows/ecs-fix.yml +++ b/.github/workflows/ecs-fix.yml @@ -26,24 +26,21 @@ jobs: run: composer install --no-interaction --no-scripts - name: Run ECS - run: vendor/bin/ecs check --fix src --config src/ecs.php - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v4 - with: - commit-message: '[CS] Refactor' - author: DACHCOM Bot - title: '[CS] Refactor' - body: | - This PR has been generated automatically to fix code-styles - labels: | - Enhancement - branch: coding-standard/refactor-${{ matrix.branch }} - delete-branch: true - base: ${{ matrix.branch }} - - - - name: Easy Coding Standard Check - continue-on-error: true run: | - vendor/bin/ecs check ${{ github.workspace }}/lib/test-bundle/src --config ${{ github.workspace }}/lib/test-bundle/ecs.php \ No newline at end of file + ls -la + ls -la src + vendor/bin/ecs check --fix src --config src/ecs.php + + #- name: Create Pull Request + # uses: peter-evans/create-pull-request@v4 + # with: + # commit-message: '[CS] Refactor' + # author: DACHCOM Bot + # title: '[CS] Refactor' + # body: | + # This PR has been generated automatically to fix code-styles + # labels: | + # Enhancement + # branch: coding-standard/refactor-${{ matrix.branch }} + # delete-branch: true + # base: ${{ matrix.branch }} \ No newline at end of file