Skip to content

Multiple technologies in one repository #774

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

Open
fellinga opened this issue Oct 28, 2024 · 1 comment
Open

Multiple technologies in one repository #774

fellinga opened this issue Oct 28, 2024 · 1 comment
Labels
question Further information is requested

Comments

@fellinga
Copy link

I could not find docs on how to use FrogBot with multiple technologies in the same repository. I am working on a project that is based on dotnet but also has a node frontend in a subfolder. I suppose I could run the script in the root folder with JF_INSTALL_DEPS_CMD="dotnet restore" and in /frontend with JF_INSTALL_DEPS_CMD='yarn install' but I think I have read that FrogBot would delete the previous pull request comment.

Can you suggest any best practices?

@fellinga fellinga added the question Further information is requested label Oct 28, 2024
@attiasas
Copy link
Contributor

Hi @fellinga, Sorry for the delay.
You can try to configure 2 projects using our frogbot-configuration

- params:
    git:
      repoName: repo-name
      branches:
        - master
    scan:
      projects:
        - workingDirs:
            - "."
          installCommand: "dotnet restore"
        - workingDirs:
            - "./frontend-dir"
          installCommand: "yarn install"

also you can avoid deleting previous comment using JF_AVOID_PREVIOUS_PR_COMMENTS_DELETION=true

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

No branches or pull requests

2 participants