Skip to content

Commit 8ef5eae

Browse files
authored
Fix restrict-task-creation workflow (#6105)
1 parent e5dd09a commit 8ef5eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/restrict-task-creation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
check-authorization:
1010
runs-on: ubuntu-latest
1111
# Only run if this is a Task issue type (from the issue form)
12-
if: github.event.issue.issue_type == 'Task'
12+
if: github.event.issue.type.name == 'Task'
1313
steps:
1414
- name: Check if user is authorized
1515
uses: actions/github-script@v7

0 commit comments

Comments
 (0)