diff --git a/.github/workflows/restrict-task-creation.yml b/.github/workflows/restrict-task-creation.yml index 0a6be15180b..36d9688f50a 100644 --- a/.github/workflows/restrict-task-creation.yml +++ b/.github/workflows/restrict-task-creation.yml @@ -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