mirror of
https://github.com/eza-community/eza
synced 2024-10-01 13:43:56 +00:00
ci: only apply labels when opening a PR
The problem with the default behavior is that it's simply too aggressive. It will re-apply a label that a maintianer have removed every time the PR is updated, making it impossible to manually adjust labels that doesn't fit exactly according to the labeler rules.
This commit is contained in:
parent
995b25e19f
commit
985a8e980a
4
.github/workflows/label.yml
vendored
4
.github/workflows/label.yml
vendored
|
@ -8,7 +8,9 @@
|
|||
# For inspiration see: https://github.com/NixOS/nixpkgs/blob/master/.github/workflows/labels.yml
|
||||
|
||||
name: Labeler
|
||||
on: [pull_request_target]
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
label:
|
||||
|
|
Loading…
Reference in a new issue