comment preview #141
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: comment preview | |
on: | |
workflow_run: | |
workflows: ['update collection'] | |
types: [completed] | |
branches-ignore: [main] | |
jobs: | |
comment-preview: | |
name: comment links to previews in pull request | |
runs-on: windows-2019 | |
steps: | |
# - uses: izhangzhihao/delete-comment@master | |
# with: | |
# github_token: ${{ secrets.PAT }} | |
# delete_user_name: bioimageiobot | |
# issue_number: ${{ github.event.number }} | |
- uses: tonyhallett/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.PAT }} | |
with: | |
includes: preview,preview-collection-json | |
format: name | |
addTo: pull |