Skip to content

Commit

Permalink
apacheGH-41983: [Dev] Run issue labeling bot only when opening an iss…
Browse files Browse the repository at this point in the history
…ue (not editing) (apache#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: apache#41983

Authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
  • Loading branch information
jorisvandenbossche committed 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.