Skip to content

Commit

Permalink
Merge pull request #128 from ome/review
Browse files Browse the repository at this point in the history
Add Review comment to all PRs.
  • Loading branch information
sbesson authored May 30, 2022
2 parents e26e206 + f46a22b commit 8c7b30c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
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/ome/ngff/${{github.sha}}/latest/index.bs)
* [diff latest modified](https://services.w3.org/htmldiff?doc1=https%3A%2F%2Fngff.openmicroscopy.org%2Flatest%2F&doc2=http%3A%2F%2Fapi.csswg.org%2Fbikeshed%2F%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fome%2Fngff%2F${{github.sha}}%2Flatest%2Findex.bs)
edit-mode: replace

0 comments on commit 8c7b30c

Please sign in to comment.