fix assign other error
This commit is contained in:
parent
ab00ac7d9a
commit
aa9d49136d
2
.github/workflows/assign-on-comment.yml
vendored
2
.github/workflows/assign-on-comment.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
|||||||
# Job 2: Admin can assign others
|
# Job 2: Admin can assign others
|
||||||
assign-others:
|
assign-others:
|
||||||
# Only run if the comment starts with '/assign @' and the commenter is in the admin group
|
# Only run if the comment starts with '/assign @' and the commenter is in the admin group
|
||||||
if: startsWith(github.event.comment.body, '/assign @') && contains(fromJson('["OWNER", "COLLABORATOR", "MEMBER"]'), github.event.author_association)
|
if: startsWith(github.event.comment.body, '/assign @') && contains(fromJson('["OWNER", "COLLABORATOR", "MEMBER"]'), github.event.comment.author_association)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
issues: write
|
||||||
|
Loading…
x
Reference in New Issue
Block a user