Skip to content

Commit

Permalink
Add review comment action
Browse files Browse the repository at this point in the history
  • Loading branch information
ivirshup committed Nov 28, 2022
1 parent aefcde2 commit 17d96ea
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Add review url

on:
pull_request_target:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: peter-evans/find-comment@v2
id: fc
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: Automated Review URLs

- uses: peter-evans/create-or-update-comment@v2
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body: |
#### Automated Review URLs
* [render latest/index.bs](http://api.csswg.org/bikeshed/?url=https://raw.githubusercontent.com/GraphBLAS/binsparse-specification/${{ github.event.pull_request.head.sha }}/latest/index.bs)
edit-mode: replace

0 comments on commit 17d96ea

Please sign in to comment.