Closed davinerd closed 2 years ago
Hi @davinerd and sorry for the long answer.
Could you give a link to failed GitHub Action to figure out what is wrong? Or if the project is private, you can create a public repository with needed data to reproduce this error.
@mgrachev this line might have a problem https://github.com/reviewdog/action-brakeman/blob/master/entrypoint.sh#L13
I think we need to quote $INPUT_BRAKEMAN_VERSION
here.
But, since this issue is new, there might be something different behind that.
@adnikiforov Could you quote $INPUT_BRAKEMAN_VERSION
and test it?
Just for reference, I fixed it by adding brakeman_version: 5.1.1
explicitly to the with:
section.
Hello, when configuring brakeman on Actions I get
sh: gemfile: unknown operand
with the following configuration:What's interesting is that it says the gem has been installed and the scan resulted in 0 findings. However, running brakeman locally does actually show some findings.
I'm quite new to Github Actions so apologies if that's an obvious fix.