Skip to content

feat(github-actions): add ability to look up org restrictions for action versions #39802

@jamietanna

Description

@jamietanna

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of others

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions