From ee339bc3bc733489d54cfa2d4c637c877a592784 Mon Sep 17 00:00:00 2001 From: Endika Iglesias Date: Tue, 1 Dec 2026 13:45:25 +0100 Subject: [PATCH] ci: update PR branches only when auto-merge is enabled --- .github/workflows/update-branches.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-branches.yml b/.github/workflows/update-branches.yml index d7ec8c0..ca0d739 100644 --- a/.github/workflows/update-branches.yml +++ b/.github/workflows/update-branches.yml @@ -2,12 +2,12 @@ name: Update PR branches # main requires branches to be up to date, and auto-merge never updates one by itself: after each # push, bring every auto-merging PR up to date so it re-runs CI on top of main and merges alone. -# A PR opened (or set to auto-merge) after the last push is already behind, so those events count too. +# A PR set to auto-merge after the last push may already be behind, so that event counts too. on: push: branches: [main] pull_request: - types: [opened, reopened, auto_merge_enabled] + types: [auto_merge_enabled] workflow_dispatch: permissions: {}