mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 07:23:00 +00:00
Merge pull request #3939 from turrisxyz/Pinned-Dependencies-GitHub
chore: Set permissions for GitHub actions
This commit is contained in:
3
.github/workflows/test-jsx.yml
vendored
3
.github/workflows/test-jsx.yml
vendored
@@ -19,6 +19,9 @@ on:
|
|||||||
- "**"
|
- "**"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# The ./jsx folder contains React based source code files that are to compile
|
# The ./jsx folder contains React based source code files that are to compile
|
||||||
# to share/jupyterhub/static/js/admin-react.js. The ./jsx folder includes
|
# to share/jupyterhub/static/js/admin-react.js. The ./jsx folder includes
|
||||||
|
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@@ -30,6 +30,9 @@ env:
|
|||||||
LANG: C.UTF-8
|
LANG: C.UTF-8
|
||||||
PYTEST_ADDOPTS: "--verbose --color=yes"
|
PYTEST_ADDOPTS: "--verbose --color=yes"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Run "pytest jupyterhub/tests" in various configurations
|
# Run "pytest jupyterhub/tests" in various configurations
|
||||||
pytest:
|
pytest:
|
||||||
|
Reference in New Issue
Block a user