As noted in #39745, it would be useful to prevent Renovate from raising PRs when it's known that the organisation will block an update to the Action(s).
Via we can use the API to query what restrictions are in place, and apply that accordingly to the update(s).
This would cover:
Outstanding questions:
- what happens to a branch when it contains an update that would be blocked?
- Should the
BranchResult be marked as error or needs-approval?
- Should those updates be filtered?
- Should this introduce a new internal check i.e.
renovate/organisation-policy-restriction, which can then work alongside internalChecksFilter?
Out of scope: