Skip to content

Commit

Permalink
Using GH CLI to post a PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zivnevo authored Oct 13, 2021
1 parent 7319c57 commit 4fec416
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,9 @@ jobs:
with:
name: ${{ steps.verify-policies.outputs.policy-results-artifact }}
- name: comment PR
uses: machine-learning-apps/pr-comment@1.0.0
run: gh pr comment ${{ github.event.number }} -F ${{ steps.verify-policies.outputs.policy-results-file }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
path: ${{ steps.verify-policies.outputs.policy-results-file }}
```
This should output something like this:
![](/PR-comment.png)

0 comments on commit 4fec416

Please sign in to comment.