From a0d54d11aa4ba55cc00c52eb27a323424179619a Mon Sep 17 00:00:00 2001 From: jorenham Date: Thu, 7 Aug 2025 04:01:53 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=A4=96=20renovate=20dependency=20bot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/renovate.json5 | 12 ++++++++++++ .github/workflows/renovate.yml | 17 +++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 .github/renovate.json5 create mode 100644 .github/workflows/renovate.yml 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..d78e34ed --- /dev/null +++ b/.github/workflows/renovate.yml @@ -0,0 +1,17 @@ +name: Renovate + +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 }} From a7260464dfd5e85058f1c59be52e15df5726d1a9 Mon Sep 17 00:00:00 2001 From: Joren Hammudoglu Date: Thu, 7 Aug 2025 04:05:00 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=92=EF=B8=8F=20Potential=20fix=20f?= =?UTF-8?q?or=20code=20scanning=20alert=20no.=205:=20Workflow=20does=20not?= =?UTF-8?q?=20contain=20permissions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/renovate.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index d78e34ed..7f5f4240 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -1,4 +1,6 @@ name: Renovate +permissions: + contents: read on: schedule: