Fix another permission (#36444)

* fix permission

* fix permission

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar 2025-02-27 10:29:06 +01:00 committed by GitHub
parent a8e4fe45fd
commit 549db241e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,6 +8,8 @@ jobs:
convert_pr_to_draft:
runs-on: ubuntu-22.04
name: Convert PR to draft
permissions:
pull-requests: write
if: github.event.pull_request.draft == false
steps:
- name: Convert PR to draft