Skip to content

Errors when using nested directory for path property #7

@therealvio

Description

@therealvio

Hi,

I ran into this Github Action, and was having issues with getting it to lint policies located in a nested directory. When I pass in a directory such as: ./cfct-config/config/policies/, I get the following error:

parliament: error: You cannot pass a file with --file and use stdin together.

Meanwhile, when I use parliament and pass the --directory argument using the same directory above, the command works. When I test using the find command (which I understand is being used by this Github Action), the path being supplied looks correct.

Maybe I am not doing something right, though is there a possibility that nested directories are not supported and just needs to get added in?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions