Skip to content

Commit

Permalink
Merge pull request #28 from 7-zete-7/patch-1
Browse files Browse the repository at this point in the history
Do not change phpstan phar permissions when not needed
  • Loading branch information
g105b authored Nov 18, 2024
2 parents e826ef6 + 7c28273 commit d8f8887
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion phpstan-action.bash
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ else
phar_path="${GITHUB_WORKSPACE}/$ACTION_PHPSTAN_PATH"
fi

chmod +x "$phar_path"
if [ ! -x "$phar_path" ];
then
chmod +x "$phar_path"
fi

command_string=("phpstan")

if [ -n "$ACTION_COMMAND" ]
Expand Down

0 comments on commit d8f8887

Please sign in to comment.