Skip to content

Commit

Permalink
chore(workflow): add-to-projects doesn't need to handle labeled event
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Su <[email protected]>
  • Loading branch information
derekbit authored and innobead committed Oct 7, 2024
1 parent c8d1df4 commit 070d41c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/add-to-projects.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Add-To-Projects
on:
issues:
types: [opened, labeled]
types: [opened]

jobs:
community:
Expand Down Expand Up @@ -39,8 +39,7 @@ jobs:
if: |
steps.is-longhorn-member.outcome == 'success' &&
fromJSON(steps.is-longhorn-member.outputs.teams)[0] == null &&
steps.add-project.outputs.itemId != '' &&
github.event_name == 'issues' && github.event.action == 'opened'
steps.add-project.outputs.itemId != ''
uses: titoportas/[email protected]
with:
project-url: https://github.com/orgs/longhorn/projects/5
Expand Down

0 comments on commit 070d41c

Please sign in to comment.