Fix restrict-task-creation workflow (#6105)

This commit is contained in:
TheJulianJES 2025-08-18 11:45:13 +02:00 committed by GitHub
parent e5dd09ab6b
commit 8ef5eae22a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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