From 822516e60bca1115a466f4fefdf2138b67920583 Mon Sep 17 00:00:00 2001 From: Ptitloup Date: Thu, 21 Sep 2023 16:06:46 +0200 Subject: [PATCH] try another use curl --- .github/workflows/commentPR.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/commentPR.yml b/.github/workflows/commentPR.yml index e2ece4a7fb..3b5a1a858a 100644 --- a/.github/workflows/commentPR.yml +++ b/.github/workflows/commentPR.yml @@ -16,18 +16,18 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - uses: actions/github-script@v6 - with: - script: | - github.rest.issues.createComment({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: '👋 Thanks for reporting!' - }) + # - uses: actions/github-script@v6 + # with: + # script: | + # github.rest.issues.createComment({ + # issue_number: context.issue.number, + # owner: context.repo.owner, + # repo: context.repo.repo, + # body: '👋 Thanks for reporting!' + # }) - name: Add comment to PR env: - URL: ${{ github.event.pull_request.comments_url }} + URL: ${{ github.event.issues.comments_url }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | curl \