chore(deps): bump pyinstaller from 4.10 to 5.13.1 #8
Workflow file for this run
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: Binder | |
on: | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
Create-Binder-Badge: | |
runs-on: ubuntu-latest | |
steps: | |
- name: cache binder build on mybinder.org | |
uses: machine-learning-apps/[email protected] | |
with: | |
NO_PUSH: true | |
MYBINDERORG_TAG: ${{ github.event.pull_request.head.ref }} | |
- name: comment on PR with Binder link | |
uses: actions/github-script@v1 | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
script: | | |
var BRANCH_NAME = process.env.BRANCH_NAME; | |
github.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: `[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/${context.repo.owner}/${context.repo.repo}/${BRANCH_NAME}) :point_left: Launch a binder notebook on this branch` | |
}) | |
env: | |
BRANCH_NAME: ${{ github.event.pull_request.head.ref }} |