Skip to content

Commit

Permalink
Merge pull request #6 from dachcom-digital/ecs_fix
Browse files Browse the repository at this point in the history
adjust ecs workflow
  • Loading branch information
solverat authored Nov 18, 2024
2 parents e8cddfa + fa4a99c commit f8e99e0
Showing 1 changed file with 17 additions and 20 deletions.
37 changes: 17 additions & 20 deletions .github/workflows/ecs-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
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
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 <[email protected]>
# 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 }}

0 comments on commit f8e99e0

Please sign in to comment.