Skip to content

Commit 590d6f0

Browse files
Add output to restriction based action skip
1 parent 8ad3227 commit 590d6f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Runner/Action/PHP.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ public function execute(Config $config, IO $io, Repository $repository, Config\A
8787
$exe = $this->createAction($class);
8888
// check for any given restrictions
8989
if (!$this->isApplicable($exe)) {
90+
$io->write('Action not applicable because of hook restrictions', true, IO::VERBOSE);
9091
throw new ActionNotApplicable('Action can\'t be used for this hook');
9192
}
9293

0 commit comments

Comments
 (0)