This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new e426fb7bc6e chore(ci): correct GH event type for opening new issue and 
PR in supersetbot orglabel job (#42424)
e426fb7bc6e is described below

commit e426fb7bc6e682e5aaf5de2069b75930d546ac58
Author: Đỗ Trọng Hải <[email protected]>
AuthorDate: Tue Jul 28 23:16:41 2026 +0700

    chore(ci): correct GH event type for opening new issue and PR in 
supersetbot orglabel job (#42424)
    
    Signed-off-by: hainenber <[email protected]>
---
 .github/workflows/issue_creation.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/issue_creation.yml 
b/.github/workflows/issue_creation.yml
index 3e90100f350..fb3871d0161 100644
--- a/.github/workflows/issue_creation.yml
+++ b/.github/workflows/issue_creation.yml
@@ -2,10 +2,10 @@ name: supersetbot orglabel based on author
 
 on:
   issues:
-    types: [created, edited]
+    types: [opened, edited]
 
   pull_request:
-    types: [created, edited]
+    types: [opened, edited]
 
 jobs:
   superbot-orglabel:
@@ -30,4 +30,4 @@ jobs:
           # Label the issue with the appropriate org using supersetbot
           # - this requires for the author to be publicly associated with 
their org
           # - and for the org to be listed in `supersetbot/src/metadata.js`
-          supersetbot orglabel --issue ${{ github.event.number }} --repo ${{ 
github.repository }} || true
+          supersetbot orglabel --issue ${{ github.event.number || 
github.event.issue.number }} --repo ${{ github.repository }} || true

Reply via email to