diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 00000000..e8cc794a --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,12 @@ +{ + $schema: "https://docs.renovatebot.com/renovate-schema.json", + lockFileMaintenance: { + enabled: true, + }, + pep723: { + fileMatch: [ + "tool/stubtest\\.py", + "tool/ufunc\\.py", + ], + }, +} diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml new file mode 100644 index 00000000..7f5f4240 --- /dev/null +++ b/.github/workflows/renovate.yml @@ -0,0 +1,19 @@ +name: Renovate +permissions: + contents: read + +on: + schedule: + - cron: "0/15 * * * *" + workflow_dispatch: + +jobs: + renovate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4.2.2 + + - uses: renovatebot/github-action@v43.0.5 + with: + configurationFile: .github/renovate.json5 + token: ${{ secrets.RENOVATE_TOKEN }}