From 37d0acdccbf1228574434499ccb3a63d7a09e16f Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Wed, 5 Jun 2024 16:28:27 +0200 Subject: [PATCH] GH-41983: [Dev] Run issue labeling bot only when opening an issue (not editing) (#41986) ### Rationale for this change Currently the bot will remove manually added Component labels, because at that point you are editing the issue and the workflow is run again, reinstating the labels in the "Components" section in the top post created by the issue form. Therefore, restrict this bot to only run when the issue is "opened" * GitHub Issue: #41983 Authored-by: Joris Van den Bossche Signed-off-by: Jacob Wujciak-Jens --- .github/workflows/issue_bot.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/issue_bot.yml b/.github/workflows/issue_bot.yml index ec614ca1e7c56..2725825b56952 100644 --- a/.github/workflows/issue_bot.yml +++ b/.github/workflows/issue_bot.yml @@ -21,7 +21,6 @@ on: issues: types: - opened - - edited permissions: contents: read