Updated permisssions for GitHub Token

This commit is contained in:
Pikachú 2024-02-06 13:48:05 +03:00
parent e2ad973c7f
commit 84962b09c8
2 changed files with 15 additions and 0 deletions

View File

@ -13,6 +13,13 @@ jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
deployments: read
packages: none
pull-requests: write
security-events: write
name: Build and Deploy Job
steps:
- uses: actions/checkout@v2
@ -36,6 +43,13 @@ jobs:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
permissions:
actions: read
contents: read
deployments: read
packages: none
pull-requests: write
security-events: write
steps:
- name: Close Pull Request
id: closepullrequest

View File

@ -28,6 +28,7 @@ Probably the best way to use the curriculum is to open it in [Visual Studio Code
You can also use Jupyter environment right from the browser on your own computer. Actually, both classical Jupyter and Jupyer Hub provide quite convenient development environment with auto-completion, code highlighting, etc.
To start Jupyter locally, go to the directory of the course, and execute:
```bash
jupyter notebook
```