From df0fbb2412683b9a839f0a7b8c2cfef124c20acc Mon Sep 17 00:00:00 2001 From: Matt Richardson Date: Tue, 28 Jul 2026 11:01:42 +1000 Subject: [PATCH] Trigger renovate-approve-pr.yaml on the labeled event too on: pull_request with no types key defaults to [opened, synchronize, reopened] -- it excludes labeled. Renovate creates a PR then adds labels (autoapprove, dependencies, etc.) as a separate follow-up call. If the opened webhook fires before the label-adding call lands, the job's autoapprove-label check sees no labels, evaluates false, and skips -- permanently, since nothing retriggers the workflow afterward. Adding labeled to the trigger types means a later label-add event re-evaluates the condition with the label actually present. --- .github/workflows/renovate-approve-pr.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/renovate-approve-pr.yaml b/.github/workflows/renovate-approve-pr.yaml index 0d0b6df..0a6ee9e 100644 --- a/.github/workflows/renovate-approve-pr.yaml +++ b/.github/workflows/renovate-approve-pr.yaml @@ -2,6 +2,11 @@ name: "Approve and auto-merge Renovate Pull Requests with automerge label" on: pull_request: + types: + - opened + - synchronize + - reopened + - labeled branches: - main