Skip to content

Commit e8416df

Browse files
authored
CI: Fix syntax error in comment-commands.yml (#52610)
1 parent 471c852 commit e8416df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/comment-commands.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
issue_assign:
1313
runs-on: ubuntu-22.04
1414
steps:
15-
- if: !github.event.issue.pull_request && github.event.comment.body == 'take'
15+
- if: (!github.event.issue.pull_request) && github.event.comment.body == 'take'
1616
run: |
1717
echo "Assigning issue ${{ github.event.issue.number }} to ${{ github.event.comment.user.login }}"
1818
curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -d '{"assignees": ["${{ github.event.comment.user.login }}"]}' https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/assignees

0 commit comments

Comments
 (0)