artarts36 / ci-git-sender
There is no license information available for the latest version (0.1.2) of this package.
CI Git Sender
0.1.2
2021-11-26 11:05 UTC
Requires
- php: ^8
- artarts36/git-handler: ^1.1
- ondram/ci-detector: ^4.1
Requires (Dev)
- artarts36/php-cs-fixer-good-fixers: ^0.1.0
- jetbrains/phpstorm-attributes: ^1.0
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-12-08 10:21:18 UTC
README
This is an auxiliary PHP package for sending commits during the CI pipelines.
Installation
Run: composer require artarts36/ci-git-sender
Example
$sender = \ArtARTs36\CiGitSender\Sender\Factory\SenderFactory::local() ->create(__DIR__, new \ArtARTs36\CiGitSender\Remote\Credentials('my-login', 'my-token')); $sender->send('readme.md', new \ArtARTs36\CiGitSender\Commit\Message('My file to {$BRANCH}'));