apupier commented on PR #11376: URL: https://github.com/apache/nifi/pull/11376#issuecomment-4844896579
> It would be great if the changes could be narrowed to the primary repository, and not applied to forks, which should address `dependabot` and any similar issues. Do you have any thoughts about such an approach? based on the [documentation](https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#push), i do not see a simple solution for that. i could only imagine to have the job triggered and then a specific check `if` to cancel the build but it doesn't sound really nice. Maybe a reasonable mitigation could be to exclude the dependabot branches, as I suppose thta it is the case which occurs most often and a PR is always provided. In this case by using branch-ignores: dependabot/* for push events -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
