Skip to content

Commit bb76292

Browse files
authored
reactivate review action (#440)
1 parent 253a54e commit bb76292

1 file changed

Lines changed: 22 additions & 24 deletions

File tree

.github/workflows/review.yml

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
1-
# ---
2-
# name: Add review url
1+
---
2+
name: Add review url
33

4-
# on:
5-
# pull_request_target:
4+
on:
5+
pull_request_target:
66

7-
# jobs:
8-
# build:
9-
# runs-on: ubuntu-latest
10-
# steps:
11-
# - uses: peter-evans/find-comment@v2
12-
# id: fc
13-
# with:
14-
# issue-number: ${{ github.event.pull_request.number }}
15-
# comment-author: 'github-actions[bot]'
16-
# body-includes: Automated Review URLs
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: peter-evans/find-comment@v2
12+
id: fc
13+
with:
14+
issue-number: ${{ github.event.pull_request.number }}
15+
comment-author: 'github-actions[bot]'
16+
body-includes: Automated Review URLs
1717

18-
# - uses: peter-evans/create-or-update-comment@v2
19-
# with:
20-
# comment-id: ${{ steps.fc.outputs.comment-id }}
21-
# issue-number: ${{ github.event.pull_request.number }}
22-
# body: |
23-
# #### Automated Review URLs
24-
# * [Readthedocs](https://ngff--${{ github.event.pull_request.number }}.org.readthedocs.build/)
25-
# * [render latest/index.bs](http://api.csswg.org/bikeshed/?url=https://raw.githubusercontent.com/ome/ngff/${{ github.event.pull_request.head.sha }}/latest/index.bs)
26-
# * [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.event.pull_request.head.sha }}%2Flatest%2Findex.bs)
27-
# edit-mode: replace
18+
- uses: peter-evans/create-or-update-comment@v2
19+
with:
20+
comment-id: ${{ steps.fc.outputs.comment-id }}
21+
issue-number: ${{ github.event.pull_request.number }}
22+
body: |
23+
#### Automated Review URLs
24+
* [Readthedocs](https://ngff--${{ github.event.pull_request.number }}.org.readthedocs.build/)
25+
edit-mode: replace

0 commit comments

Comments
 (0)