Skip to content

Commit

Permalink
try another use curl
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitloup committed Sep 21, 2023
1 parent 1f89280 commit 822516e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/commentPR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 822516e

Please sign in to comment.