From ca500794602213f58b4fb88ead310dc59bed0233 Mon Sep 17 00:00:00 2001 From: Tung Bui Date: Sat, 16 Mar 2024 11:24:25 +0700 Subject: [PATCH] ci: fix Invalid event type: issues --- .github/workflows/auto-labeler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-labeler.yml b/.github/workflows/auto-labeler.yml index 99d3a8d..26541cb 100644 --- a/.github/workflows/auto-labeler.yml +++ b/.github/workflows/auto-labeler.yml @@ -32,7 +32,7 @@ jobs: title="${{ github.event.pull_request.title }}" number="${{ github.event.pull_request.number }}" type="pr" - elif [[ "${{ github.event_name }}" == "issue" ]]; then + elif [[ "${{ github.event_name }}" == "issues" ]]; then title="${{ github.event.issue.title }}" number="${{ github.event.issue.number }}" type="issue"