Skip to content

Commit

Permalink
Add some feature for automation
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas-kulhanek committed Jan 30, 2024
1 parent ab8a7a8 commit cb15e20
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 34 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "weekly"
19 changes: 19 additions & 0 deletions .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Auto Assign
on:
issues:
types: [opened]
pull_request:
types: [opened]
jobs:
run:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: 'Auto-assign issue'
uses: pozil/auto-assign-issue@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
assignees: tomas-kulhanek
numOfAssignee: 1
68 changes: 34 additions & 34 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "tomas-kulhanek/czech-data-box",
"description": "PHP library for connection to Integrated system of data box (ISDS) in Czech republic",
"license": "MIT",
"authors": [
{
"name": "Tomáš Kulhánek",
"email": "jsem@tomaskulhanek.cz",
"homepage": "https://github.com/tomas-kulhanek"
}
],
"license": "MIT",
"authors": [
{
"name": "Tomáš Kulhánek",
"email": "jsem@tomaskulhanek.cz",
"homepage": "https://github.com/tomas-kulhanek"
}
],
"keywords": [
"isds",
"datovky",
Expand Down Expand Up @@ -50,33 +50,33 @@
"nyholm/psr7": "^1.4",
"php-http/httplug": "^2.2",
"symfony/http-client": "5.4.*|6.*",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^10.5",
"rector/rector": "^0.19.2",
"squizlabs/php_codesniffer": "^3.7"
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^10.5",
"rector/rector": "^0.19.2",
"squizlabs/php_codesniffer": "^3.7"
},
"scripts": {
"check": [
"@phpstan",
"@phpcs",
"@phpunit"
],
"test:phpunit": "php -d xdebug.mode=off vendor/phpunit/phpunit/phpunit",
"check:phpstan": "php -d memory_limit=512M vendor/bin/phpstan analyse -c phpstan.neon",
"check:rector": "php vendor/bin/rector process src tests public --dry-run",
"check:cs": "phpcs --extensions=php --standard=PSR12 -n src tests",
"fix:cs": "phpcbf --extensions=php --standard=PSR12 -n src tests",
"fix:rector": "php vendor/bin/rector process src tests public",
"fix:all": [
"@fix:rector",
"@fix:cs"
],
"check:all": [
"@check:phpstan",
"@check:rector",
"@check:cs"
]
},
"scripts": {
"check": [
"@phpstan",
"@phpcs",
"@phpunit"
],
"test:phpunit": "php -d xdebug.mode=off vendor/phpunit/phpunit/phpunit",
"check:phpstan": "php -d memory_limit=512M vendor/bin/phpstan analyse -c phpstan.neon",
"check:rector": "php vendor/bin/rector process src tests public --dry-run",
"check:cs": "phpcs --extensions=php --standard=PSR12 -n src tests",
"fix:cs": "phpcbf --extensions=php --standard=PSR12 -n src tests",
"fix:rector": "php vendor/bin/rector process src tests public",
"fix:all": [
"@fix:rector",
"@fix:cs"
],
"check:all": [
"@check:phpstan",
"@check:rector",
"@check:cs"
]
},
"archive": {
"exclude": [
"/tests"
Expand Down

0 comments on commit cb15e20

Please sign in to comment.