diff --git a/.github/workflows/test-jsx.yml b/.github/workflows/test-jsx.yml index fdc02a2d..eb31a399 100644 --- a/.github/workflows/test-jsx.yml +++ b/.github/workflows/test-jsx.yml @@ -19,6 +19,9 @@ on: - "**" workflow_dispatch: +permissions: + contents: read + jobs: # 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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ea6e3c32..ee43dab9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,6 +30,9 @@ env: LANG: C.UTF-8 PYTEST_ADDOPTS: "--verbose --color=yes" +permissions: + contents: read + jobs: # Run "pytest jupyterhub/tests" in various configurations pytest: