diff --git a/.github/workflows/on-pr-merged.yml b/.github/workflows/on-pr-merged.yml index 92992c7..36529bb 100644 --- a/.github/workflows/on-pr-merged.yml +++ b/.github/workflows/on-pr-merged.yml @@ -1,8 +1,10 @@ name: After-Merge Chores on: pull_request: - branches: - - FRAMEWORK_6_0 + types: + - closed + # branches: + # - FRAMEWORK_6_0 workflow_dispatch: jobs: diff --git a/.github/workflows/on-pr.yml b/.github/workflows/on-pr.yml index 9e936ba..3e5535a 100644 --- a/.github/workflows/on-pr.yml +++ b/.github/workflows/on-pr.yml @@ -1,8 +1,10 @@ name: Pull Request Chores on: pull_request: - branches: - - FRAMEWORK_6_0 + types: + - opened + - edited + - reopened workflow_dispatch: jobs: diff --git a/.horde.yml b/.horde.yml index 6341e43..1dd2513 100644 --- a/.horde.yml +++ b/.horde.yml @@ -34,3 +34,4 @@ dependencies: phpstan/phpstan: ^2 nocommands: - bin/demo-client.php + - bin/demo-client-get-prs.php diff --git a/composer.json b/composer.json index 872f1c4..e48d3ce 100644 --- a/composer.json +++ b/composer.json @@ -1,27 +1,37 @@ { "name": "horde/githubapiclient", + "description": "Interact with the Github API from PHP code", "type": "library", - "license": "LGPL-2.1", - "autoload": { - "psr-4": { - "Horde\\GithubApiClient\\": "src/" - } - }, + "homepage": "https://www.horde.org", + "license": "LGPL-2.1-only", "authors": [ { "name": "Ralf Lang", - "email": "ralf.lang@ralf-lang.de" + "email": "ralf.lang@ralf-lang.de", + "role": "contributor" } ], - "minimum-stability": "dev", + "time": "2025-04-28", + "repositories": [], "require": { - "horde/http": "dev-FRAMEWORK_6_0" + "php": "^8.3", + "horde/http": "*" }, "require-dev": { - "horde/injector": "dev-FRAMEWORK_6_0", - "rector/rector": "^2", "phpunit/phpunit": "^12", "friendsofphp/php-cs-fixer": "^3", "phpstan/phpstan": "^2" + }, + "suggest": {}, + "autoload": { + "psr-4": { + "Horde\\GithubApiClient\\": "src/" + } + }, + "autoload-dev": {}, + "config": { + "allow-plugins": { + "horde/horde-installer-plugin": true + } } -} +} \ No newline at end of file