Why can I not see PR/MR comments on my CI platform? I have created my CI config file correctly as well as I have installed the Semgrep app onto my organization. I am able to get email notifications working but not with the others.
Why am I not seeing PR/MR comments?
1k Views Asked by Jason At
1
There are 1 best solutions below
Related Questions in PULL-REQUEST
- How do you get a BitBucket pull request to trigger a Bamboo build?
- Post a comment on Github Pull Request via Command Line
- Why am I getting a Travis CI error on my pull request to add a schema to a file?
- On Github, see if a tag includes a pull request?
- How to configure Merge Strategies on Bitbucket Cloud?
- What is difference between Reviewers and Assignees on GitHub?
- How do I handle parallel pull requests for derived branches?
- Pull Request policies and Build in Visual Studio Team Services
- Github: Find PRs where user is a reviewer
- Github pull request for a branch of a branch
- How do you add a code block to a pull request description on github?
- How to get pull requests filter with owner using Github API
- Create a GitHub webhook for when a pull request is accepted & merged to master
- Github pull request history
- Raise a clean pull request in git
Related Questions in MERGE-REQUEST
- How to add label when merge request is created on gitlab?
- How to review a merge request with an automatic code styling change?
- GitLab- List of reviewer
- Multiline comment on merge request with GitLab REST API
- How can I create a private merge request template with GitLab?
- Jenkins-GitLab Integration: How to Clone Source Branch of Merge Request in Jenkins?"
- GitLab prevent commits to existing merge request
- Select commits from gitlab develop branch to create merge request to main
- Automatic merge of an MR on GitLab
- Git Pipeline Fails ModuleNotFoundError of Own Module
- Jenkins Job is not able to generate Merge request
- GitLab-CI: Why does a Merge Results pipeline build an unchanged result twice?
- Gitlab merge request default name
- Trigger a new pipeline on merge request creation in gitlab-ci
- How to restrict team members from merging the changes that they did in there forked repository to base repository?
Related Questions in SEMGREP
- Download Full Semgrep Ruleset / Multiple rules in one file
- CWE-918 with Spring @Value parameters
- Semgrep determine value of function parameter
- Semgrep rule for a try/catch block
- Semgrep: Looking for wrong import
- Semgrep not finding two lines of code with a 'patterns' section
- How do I download a rule yaml file directly?
- How do I save or export reports/findings/results from Semgrep?
- Why am I not seeing PR/MR comments?
- Why am I seeing new findings on my code when I have changed nothing at all?
- I am getting a non-descript Gitlab CI error. Can anyone help me try to get a better error statement?
- How does Semgrep handle two conflicting Typed Metavariable classes?
- Enforcing dictionary access via .get(...) to prevent KeyErrors
- Non literal import Untrusted user input in importlib.import_module() Warning
- script.sh: Syntax error: "(" unexpected script returned exit code 2
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The first way to make sure that you are receiving PR/MR comments is to make sure that your CI config file has the correct rule that allows for PR/MR comment scanning. For example, for Github Actions
on: pull_request {}rule whereas for Gitlab, you will have to use the- if: $CI_MERGE_REQUEST_IIDrule. Regarding other CI platforms feel free to look at the Sample CI configurations section of the Semgrep Docs.The second way is to make sure you are actually performing an PR/MR scan. You can be notified this via the run logs/CLI logs. Please make sure the triggering event of the scan is a pull_request and not anything else like the following screenshot: Image of scan with a push trigger event.
And finally, Semgrep only leaves PR comments on brand new issues which will require changing the source code that is being scanned or re-instating your current project.