-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from dachcom-digital/ecs_fix
adjust ecs workflow
- Loading branch information
Showing
1 changed file
with
17 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} |