Skip to content

Commit

Permalink
adjust ecs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat committed Nov 18, 2024
1 parent f8e99e0 commit 13e9cb0
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 19 deletions.
12 changes: 12 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/.github export-ignore
/docs export-ignore
/tests export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/codeception.dist.yml export-ignore
/phpstan.neon export-ignore
/ecs.php export-ignore
/CLA.md export-ignore
/CODE_OF_CONDUCT.md export-ignore
/ISSUE_TEMPLATE.md export-ignore
/PULL_REQUEST_TEMPLATE.md export-ignore
30 changes: 14 additions & 16 deletions .github/workflows/ecs-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,18 @@ jobs:

- name: Run ECS
run: |
ls -la
ls -la src
vendor/bin/ecs check --fix src --config src/ecs.php
vendor/bin/ecs check src --fix --config 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: 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 }}
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,8 @@ atlassian-ide-plugin.xml
.project
ehthumbs.db
Thumbs.db
Vagrantfile
.vagrant
php-cgi.core
.sass-cache
/vendor/

# codeception (only stage *.dist.yml config files)
/codeception.yml
Expand Down

0 comments on commit 13e9cb0

Please sign in to comment.