From aec64f5cb2c73d535b667f72b0c078082112fd96 Mon Sep 17 00:00:00 2001 From: Calvin Kirs Date: Thu, 28 Dec 2023 16:49:45 +0800 Subject: [PATCH] Update ll.yml (#20) * Update ll.yml * Update ll.yml * Update ll.yml --- .github/workflows/ll.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ll.yml b/.github/workflows/ll.yml index a0db57ffd01432..71bc855bad2ec7 100644 --- a/.github/workflows/ll.yml +++ b/.github/workflows/ll.yml @@ -1,18 +1,20 @@ name: Add comment on: - issues: + pull_request: jobs: add-comment: runs-on: ubuntu-latest permissions: issues: write + pull-requests: write + id-token: write steps: - name: Add comment - run: gh issue comment "$NUMBER" --body "$BODY" + run: gh pr comment "$NUMBER" --body "$BODY" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_REPO: ${{ github.repository }} - NUMBER: ${{ github.event.issue.number }} + NUMBER: ${{ github.event.pull_request.number }} BODY: > This issue is available for anyone to work on. **Make sure to reference this issue in your pull request.**