Coder Social home page Coder Social logo

Comments (9)

omerzi avatar omerzi commented on July 22, 2024

Hi @AdityaHitachi, thank you for reporting this issue and using Frogbot.
We have recently fixed a bug related to the frogbot-config.yml. Therefore, I highly recommend upgrading Frogbot to the latest version initially. If the issue persists even after the upgrade, please provide the debug logs generated while running Frogbot for further investigation. To enable the debug logs, kindly add the JFROG_CLI_LOG_LEVEL environment variable and set it to DEBUG.
Awaiting your feedback, please let me know if you require any additional assistance.

from frogbot.

AdityaHitachi avatar AdityaHitachi commented on July 22, 2024

Hi @AdityaHitachi, thank you for reporting this issue and using Frogbot. We have recently fixed a bug related to the frogbot-config.yml. Therefore, I highly recommend upgrading Frogbot to the latest version initially. If the issue persists even after the upgrade, please provide the debug logs generated while running Frogbot for further investigation. To enable the debug logs, kindly add the JFROG_CLI_LOG_LEVEL environment variable and set it to DEBUG. Awaiting your feedback, please let me know if you require any additional assistance.

Does frogbot-config.yml need to be in target branch also ?

from frogbot.

omerzi avatar omerzi commented on July 22, 2024

@AdityaHitachi, yes, as documented here: https://docs.jfrog-applications.jfrog.io/jfrog-applications/frogbot/setup-frogbot/frogbot-configuration#where-should-the-frogbot-config.yml-file-be-placed-in-the-repository

from frogbot.

AdityaHitachi avatar AdityaHitachi commented on July 22, 2024

@AdityaHitachi, yes, as documented here: https://docs.jfrog-applications.jfrog.io/jfrog-applications/frogbot/setup-frogbot/frogbot-configuration#where-should-the-frogbot-config.yml-file-be-placed-in-the-repository

I am working on a Maven project with multiple subfolders. When creating a pull request to the target branch, I want to scan a specific new submodule each time. I have a file of this type in my source repository.

- params:
    git:
      branches:
      - testing-patch1
      repoName: my-test-project
    scan:
      projects:
      - workingDirs:
        - ./submodule1
        - ./submodule2

However, Frogbot is not recognizing or taking this file into account from my source branch.

from frogbot.

omerzi avatar omerzi commented on July 22, 2024

@AdityaHitachi , could you please attach the debug logs? They would assist us in further investigating the issue.

from frogbot.

AdityaHitachi avatar AdityaHitachi commented on July 22, 2024

@AdityaHitachi , could you please attach the debug logs? They would assist us in further investigating the issue.

Can you please tell me how the configuration file works with pull_request targetor pull_request? Does the configuration only work with pull_request_target?"
Also, for pull_request target, if I have a configuration file in both the target and source branches with different work directories in both files, which file does Frogbot file have to take..

from frogbot.

AdityaHitachi avatar AdityaHitachi commented on July 22, 2024

@AdityaHitachi , could you please attach the debug logs? They would assist us in further investigating the issue.

I have running workflow as event type pull_request target and having config file in source repository. but its not picking up that file. Here is the log

image

from frogbot.

AdityaHitachi avatar AdityaHitachi commented on July 22, 2024

Even though I specified version 2.10.0, is Frogbot still picking up the latest version? I'm unsure why this is happening. We want to use the specified version of Frogbot

image

from frogbot.

yahavi avatar yahavi commented on July 22, 2024

@AdityaHitachi
2.10.0 is the version of the Frogbot GitHub Action. We recommend using v2.
To select the Frogbot version you can set the specific version in the "version" argument:

- name: Frogbot
  uses: jfrog/frogbot@v2
  env:
    JF_URL: ***
    JF_ACCESS_TOKEN: ***
    JF_GIT_TOKEN: ***
    JF_FAIL: "FALSE"
  with:
    version: 2.19.4

from frogbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.