Fix restrict-task-creation workflow (#150774)

This commit is contained in:
Michael
2025-08-17 01:56:56 +02:00
committed by GitHub
parent d642ecb302
commit 246a181ad4

View File

@@ -9,7 +9,7 @@ jobs:
check-authorization:
runs-on: ubuntu-latest
# Only run if this is a Task issue type (from the issue form)
if: github.event.issue.issue_type == 'Task'
if: github.event.issue.type.name == 'Task'
steps:
- name: Check if user is authorized
uses: actions/github-script@v7