Skip to content

Support running in a sub-directory of a repo for microservices/components #76

@kadraman

Description

@kadraman

Enhancement Request

The current implementation only seems to support running from the "root" of the GitHub repo. With a monorepo that contains multiple microservices or components in subdirectories the scancentral package command will package up the whole repository.

I believe GitHub Actions supports working-directory for run shell commands and scripts but uses actions need to implement their own approach, maybe something like:

uses: fortify/github-action@v1
with:
    sast-scan: true
    ....
    working-directory: microservice1
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions