File 1041-rename-renovate-actor-name-in-gh-action.patch of Package erlang
From e8fa19e2cb943f75556e10e500529f43a708b8b5 Mon Sep 17 00:00:00 2001
From: Kiko Fernandez-Reyes <kiko@erlang.org>
Date: Thu, 7 Aug 2025 10:50:00 +0200
Subject: [PATCH] rename renovate actor name in gh action
Renovate uses as actor `renovate[bot]`, but forking renovate uses as
actor `renovate-bot`. OTP uses forking renovate to not give write access
to renovate, and forking renovate works by forking repositories and
submitting PRs to them, using only `read` privileges.
it seems like a mistake that we only update dependencies based on name
`renovate[bot]`, it should be based on PRs submitted under the actor
name `renovate-bot`.
---
.github/workflows/renovate-vendored-deps.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/renovate-vendored-deps.yaml b/.github/workflows/renovate-vendored-deps.yaml
index de913e7862..07f63e3f63 100644
--- a/.github/workflows/renovate-vendored-deps.yaml
+++ b/.github/workflows/renovate-vendored-deps.yaml
@@ -32,7 +32,7 @@ permissions:
jobs:
update-vendored-deps:
runs-on: ubuntu-latest
- if: contains(github.event.pull_request.title, 'Update dependency') && github.actor == 'renovate[bot]'
+ if: contains(github.event.pull_request.title, 'Update dependency') && github.actor == 'renovate-bot'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/checkout@v4.2.2
with:
--
2.43.0