Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Action breaks with more than 1 argument #1

Open
tomekchime opened this issue Mar 21, 2022 · 0 comments
Open

Github Action breaks with more than 1 argument #1

tomekchime opened this issue Mar 21, 2022 · 0 comments

Comments

@tomekchime
Copy link

It looks like if you specify more than one argument, Github Actions will quote the options which results in an error.

name: Brakeman
on: [ pull_request ]

jobs:
  brakeman-security-scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Brakeman code scanning
        uses: standardnotes/brakeman-action@v1.0.0
        with:
          options: --color -q

Results in a command run with presidentbeef/brakeman "--color -q". The container will parse --color -q as a single flag and show the brakeman help dialog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant