From 6c303ec742b03c430ecd37c23ca8e479b5321785 Mon Sep 17 00:00:00 2001 From: Calvin Kirs Date: Thu, 28 Dec 2023 16:41:45 +0800 Subject: [PATCH 1/3] Update ll.yml --- .github/workflows/ll.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ll.yml b/.github/workflows/ll.yml index a0db57ffd01432..b54e503ccf0fc5 100644 --- a/.github/workflows/ll.yml +++ b/.github/workflows/ll.yml @@ -1,6 +1,6 @@ name: Add comment on: - issues: + pull_request: jobs: add-comment: runs-on: ubuntu-latest From 5a7d1fcb47b5d4a48334f48628c3ccba160a2372 Mon Sep 17 00:00:00 2001 From: Calvin Kirs Date: Thu, 28 Dec 2023 16:47:31 +0800 Subject: [PATCH 2/3] Update ll.yml --- .github/workflows/ll.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ll.yml b/.github/workflows/ll.yml index b54e503ccf0fc5..cebfde3efc81a6 100644 --- a/.github/workflows/ll.yml +++ b/.github/workflows/ll.yml @@ -8,11 +8,11 @@ jobs: issues: 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.** From abe26d4bf3f4a7e65ac1ade4e20aeaf7823af27f Mon Sep 17 00:00:00 2001 From: Calvin Kirs Date: Thu, 28 Dec 2023 16:49:13 +0800 Subject: [PATCH 3/3] Update ll.yml --- .github/workflows/ll.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ll.yml b/.github/workflows/ll.yml index cebfde3efc81a6..71bc855bad2ec7 100644 --- a/.github/workflows/ll.yml +++ b/.github/workflows/ll.yml @@ -6,6 +6,8 @@ jobs: runs-on: ubuntu-latest permissions: issues: write + pull-requests: write + id-token: write steps: - name: Add comment run: gh pr comment "$NUMBER" --body "$BODY"