Skip to content
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

Fix comments removal & scan-all-PRs iteration bugs #658

Merged
merged 6 commits into from
Mar 12, 2024

Conversation

eranturgeman
Copy link
Contributor

@eranturgeman eranturgeman commented Mar 12, 2024

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • This pull request is on the dev branch.
  • I used gofmt for formatting the code before submitting the pull request.

This PR resolves 2 bugs:

  1. In scan-all-pull-requests when we iterate the open PRs and check for each of them if it should be scanned, we used to return upon the first encounter in a PR that should not be scanned. This return got removed since we want to keep iterating the rest of the PRs and check them as well

  2. When deleting old comments we used to return if the removal failed. Therefore in this case we don't push the new comments. The removal of old comment is not mandatory and should not prevent the addition of newer comments

@eranturgeman eranturgeman added ignore for release Automatically generated release notes safe to test Approve running integration tests on a pull request labels Mar 12, 2024
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Mar 12, 2024
@eranturgeman eranturgeman requested a review from attiasas March 12, 2024 08:41
@eranturgeman eranturgeman added the safe to test Approve running integration tests on a pull request label Mar 12, 2024
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Mar 12, 2024
@eranturgeman eranturgeman added the safe to test Approve running integration tests on a pull request label Mar 12, 2024
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Mar 12, 2024
@eranturgeman eranturgeman added the safe to test Approve running integration tests on a pull request label Mar 12, 2024
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Mar 12, 2024
Copy link
Contributor

👍 Frogbot scanned this pull request and found that it did not add vulnerable dependencies.


@eranturgeman eranturgeman merged commit e712bb9 into jfrog:dev Mar 12, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore for release Automatically generated release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants