Removed meta-demo-comment as it won't work from forked repos

This commit is contained in:
orangemug 2020-05-25 06:58:57 +01:00
parent 7faed0d27e
commit d2853f34a4

View file

@ -9,18 +9,18 @@ on:
jobs: jobs:
# post a comment linking to codesandbox with the current branch # post a comment linking to codesandbox with the current branch
meta-demo-comment: # meta-demo-comment:
name: meta/demo-comment # name: meta/demo-comment
runs-on: ubuntu-latest # runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }} # if: ${{ github.event_name == 'pull_request' }}
steps: # steps:
- uses: unsplash/comment-on-pr@v1.2.0 # - uses: unsplash/comment-on-pr@v1.2.0
env: # env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: # with:
msg: "Demo: <https://codesandbox.io/embed/github/${{ github.repository }}/tree/${{ github.head_ref }}?view=preview>" # msg: "Demo: <https://codesandbox.io/embed/github/${{ github.repository }}/tree/${{ github.head_ref }}?view=preview>"
build-docker: build-docker:
name: build/docker name: build/docker