Skip to content

Commit

Permalink
Try to update with diff
Browse files Browse the repository at this point in the history
  • Loading branch information
cliveverghese committed Oct 27, 2021
1 parent 04d6ca4 commit 77f67ef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/summarize-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
console.log( 'Hello World!' )
diff= `${{ env.GIT_DIFF }}`
console.log( diff )
await github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: ' Hello World!'
body: diff
})

0 comments on commit 77f67ef

Please sign in to comment.