diff --git a/.github/workflows/codesandbox-link-comment.yml b/.github/workflows/codesandbox-link-comment.yml new file mode 100644 index 0000000..cf3c2d7 --- /dev/null +++ b/.github/workflows/codesandbox-link-comment.yml @@ -0,0 +1,22 @@ +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 }} diff --git a/index.html b/index.html new file mode 100644 index 0000000..740b96a --- /dev/null +++ b/index.html @@ -0,0 +1,11 @@ + + + + Otus + + + + +