Skip to content

Using renovate to run copier updates #335

@sbidoul

Description

@sbidoul

Renovate has the capability to run copier update .

I'm currently experimenting with a per repo config like this, which needs to be defined on the main branch of each repo.

We'd need to self-host renovate, either on the OCA server, or using a org-wide scheduled GitHub action, because our copier template needs --trust. Need to think about the security implications.

WIth a renovate config like this

{
  "plaform": "github",
  "allowScripts": true,
  "autodiscover": false,
  "repositories": [
    "OCA/mis-builder"
  ],
  "username": "oca-renovate-bot",
  "gitAuthor": "oca-renovate-bot <oca-renovate-bot@odoo-community.org>"
}

it produced pull requests such as OCA/mis-builder#763, OCA/mis-builder#767, OCA/mis-builder#768.

To be continued....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions