Skip to content

Commit ab22250

Browse files
authored
Merge pull request #19 from BedrockStreaming/add-code-owne
Add code owner
2 parents 16753ea + 2dc619a commit ab22250

File tree

4 files changed

+40
-0
lines changed

4 files changed

+40
-0
lines changed

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Note: order is important; the last matching pattern takes the most precedence
2+
3+
# Global rule
4+
* @BedrockStreaming/monitoring-qa

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Why?
2+
<!-- Explain why you've opened this PR -->
3+
4+
5+
## TODO
6+
- [ ] code is tested
7+
- [ ] documentation is updated (if needed)

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Continuous Integration
2+
on: [push]
3+
4+
jobs:
5+
linter:
6+
name: Code style
7+
runs-on: ubuntu-20.04
8+
strategy:
9+
matrix:
10+
php-version: [ '7.4', '8.0', '8.1' ]
11+
steps:
12+
- uses: actions/checkout@master
13+
- uses: shivammathur/setup-php@v2
14+
with:
15+
php-version: ${{ matrix.php-version }}
16+
- run: composer install --prefer-dist --no-interaction
17+
- run: vendor/bin/php-cs-fixer fix --ansi --dry-run --using-cache=no --verbose

.php-cs-fixer.dist.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
$config = new M6Web\CS\Config\BedrockStreaming();
4+
$config
5+
->getFinder()
6+
->in(
7+
[
8+
__DIR__.'/src'
9+
]
10+
);
11+
12+
return $config;

0 commit comments

Comments
 (0)