Skip to content

Commit 062f51d

Browse files
authored
Merge branch 'main' into fix/wrong-log-import
2 parents d02a2de + 2f0203a commit 062f51d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/label.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: "Pull Request Labeler"
22
on:
33
pull_request:
4+
types: [unlabeled]
45

56
concurrency:
67
group: ${{ github.workflow }}-${{ github.ref }}
@@ -59,11 +60,12 @@ jobs:
5960

6061
commenter:
6162
runs-on: ubuntu-latest
63+
needs: labeler
6264
steps:
6365
- name: Suggest to add labels
6466
uses: peter-evans/create-or-update-comment@v2
6567
# Execute only when no labels have been applied to the pull request
66-
if: toJSON(github.event.pull_request.labels.*.name) == '{}'
68+
if: toJSON(github.event.pull_request.labels.*.name) == '[]'
6769
with:
6870
issue-number: ${{ github.event.pull_request.number }}
6971
body: |

0 commit comments

Comments
 (0)