Skip to content

Commit

Permalink
GH-41983: [Dev] Run issue labeling bot only when opening an issue (no…
Browse files Browse the repository at this point in the history
…t 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 <[email protected]>
Signed-off-by: Jacob Wujciak-Jens <[email protected]>
  • Loading branch information
jorisvandenbossche authored Jun 5, 2024
1 parent 5a86441 commit 37d0acd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/issue_bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ on:
issues:
types:
- opened
- edited

permissions:
contents: read
Expand Down

0 comments on commit 37d0acd

Please sign in to comment.