Skip to content

Hw for lection17

Hw for lection17 #5

name: Add codesandbox link
on:
pull_request:
types: [opened]
# https://github.com/mshick/add-pr-comment/issues/25
pull_request_target:
types: [opened]
jobs:
codesandbox-comment:
permissions: write-all
name: Add codesandbox link comment
runs-on: ubuntu-latest
steps:
- uses: mshick/add-pr-comment@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
message: |
You can check this code at CodeSandbox with the link
https://githubbox.com/${{ github.repository }}/tree/${{ github.head_ref }}