Skip to content

Conversation

@eranturgeman
Copy link
Collaborator

@eranturgeman eranturgeman commented Jun 17, 2025

  • 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.
  • Update documentation about new features / new supported technologies

This PR adds support to the new fail_pull_request action that was introduced to P&W.
The new action is similar to fail_build, but is intended to PRs only and works as follows:
When a violation with fail_pull_request action applied to one of its rules is found - we fail PR build.

@eranturgeman eranturgeman requested review from attiasas and orz25 June 17, 2025 14:14
@eranturgeman eranturgeman added safe to test Approve running integration tests on a pull request new feature Automatically generated release notes labels Jun 17, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Jun 17, 2025
@orz25
Copy link
Contributor

orz25 commented Jun 18, 2025

Can we add an e2e test with the following:

  1. Create a policy with a fail_pr rule action and a watch.
  2. Run frogbot scan.
  3. Validate the scan failed.

…iolations-fail-pr-support

# Conflicts:
#	go.mod
#	go.sum
@eranturgeman eranturgeman added the safe to test Approve running integration tests on a pull request label Jun 23, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Jun 23, 2025
@eranturgeman eranturgeman requested review from orz25 and removed request for attiasas June 23, 2025 11:37
@eranturgeman eranturgeman added the safe to test Approve running integration tests on a pull request label Jun 24, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Jun 24, 2025
@eranturgeman eranturgeman added the safe to test Approve running integration tests on a pull request label Jun 25, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Jun 25, 2025
@eranturgeman eranturgeman added the safe to test Approve running integration tests on a pull request label Jun 25, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Jun 25, 2025
@github-actions
Copy link
Contributor

👍 Frogbot scanned this pull request and did not find any new security issues.


@eranturgeman eranturgeman merged commit f880133 into jfrog:dev Jun 25, 2025
50 of 54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature Automatically generated release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants