Skip to content

Commit fc14d5d

Browse files
committed
🐛 Updates issue type check in workflow
Updates the issue type check in the workflow. - Changes the condition to check for a specific string within the issue body. - Improves accuracy of issue type validation.
1 parent 5e03c80 commit fc14d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/issue-bug-to-discord.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
# Only run for issues whose type is "Bug"
12-
if: github.event.issue.issue_type == 'Bug'
12+
if: contains(github.event.issue.body, 'issue-type: task')
1313

1414
steps:
1515
- name: Send Discord notification

0 commit comments

Comments
 (0)