Skip to content

Commit

Permalink
Merge pull request #19 from BedrockStreaming/add-code-owne
Browse files Browse the repository at this point in the history
Add code owner
  • Loading branch information
lnahiro committed Mar 14, 2022
2 parents 16753ea + 2dc619a commit ab22250
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Note: order is important; the last matching pattern takes the most precedence

# Global rule
* @BedrockStreaming/monitoring-qa
7 changes: 7 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Why?
<!-- Explain why you've opened this PR -->


## TODO
- [ ] code is tested
- [ ] documentation is updated (if needed)
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Continuous Integration
on: [push]

jobs:
linter:
name: Code style
runs-on: ubuntu-20.04
strategy:
matrix:
php-version: [ '7.4', '8.0', '8.1' ]
steps:
- uses: actions/checkout@master
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
- run: composer install --prefer-dist --no-interaction
- run: vendor/bin/php-cs-fixer fix --ansi --dry-run --using-cache=no --verbose
12 changes: 12 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

$config = new M6Web\CS\Config\BedrockStreaming();
$config
->getFinder()
->in(
[
__DIR__.'/src'
]
);

return $config;

0 comments on commit ab22250

Please sign in to comment.