Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
🤖Improve automated runs and limit.
Browse files Browse the repository at this point in the history
  • Loading branch information
rabrowne85 committed Apr 10, 2022
1 parent b33c678 commit a853348
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
branches:
- master
- dev
paths:
- "**.php"
- "phpunit.xml"
- ".github/workflows/php-cs-fixer.yml"
- "composer.lock"

jobs:
style:
Expand All @@ -17,7 +22,7 @@ jobs:
- name: Fix style
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --config=.php_cs.dist --allow-risky=yes
args: --config=.php-cs-fixer.dist.php --allow-risky=yes

- name: Extract branch name
shell: bash
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@ name: Run tests

on:
push:
pull_request:
branches:
- main
- master
- develop
paths:
- "**.php"
- "phpunit.xml"
- ".github/workflows/run-tests.yml"
- "composer.lock"
- ".env.ci"

jobs:
php-tests:
Expand Down

0 comments on commit a853348

Please sign in to comment.