You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "mistercrunch (via GitHub)" <gi...@apache.org> on 2024/03/19 17:27:51 UTC

[PR] feat(supersetbot): label PRs and issues with author's public org [superset]

mistercrunch opened a new pull request, #27571:
URL: https://github.com/apache/superset/pull/27571

   `supersetbot` has a CLI subcommand `orglabel` that looks at an
   issue or pr's author, their public association to organizations
   if one or many of these orgs are in a specific list, will add the
   org's name as a label on the PR.
   
   This PR hooks up this command to issue/pr creation as a github action.
   
   I also fix a bug where some line had been commented that shouldn't have
   been.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] feat(supersetbot): label PRs and issues with author's public org [superset]

Posted by "geido (via GitHub)" <gi...@apache.org>.
geido commented on code in PR #27571:
URL: https://github.com/apache/superset/pull/27571#discussion_r1530916763


##########
.github/workflows/issue_creation.yml:
##########
@@ -0,0 +1,26 @@
+name: supersetbot org label based on author
+
+on:
+  issues:
+    types: [created]
+
+  pull_request:
+    types: [created]
+
+jobs:
+  supersetbot:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Execute SupersetBot Command
+        uses: actions/setup-node@v4
+        with:
+          node-version: '20'
+      - run: npm install supersetbot
+      - name: Execute custom Node.js script
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        run: |
+          # Labbel the issue with the appropriate org using supersetbot

Review Comment:
   ```suggestion
             # Label the issue with the appropriate org using supersetbot
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] feat(supersetbot): label PRs and issues with author's public org [superset]

Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch closed pull request #27571: feat(supersetbot): label PRs and issues with author's public org
URL: https://github.com/apache/superset/pull/27571


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] feat(supersetbot): label PRs and issues with author's public org [superset]

Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch merged PR #27571:
URL: https://github.com/apache/superset/pull/27571


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org