Default to least permissions in GitHub workflows in all orgs
- Dominant language
- Jupyter Notebook
- Stars
- 27
- Forks
- 12
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 3
Description
Can be checked like this using `gh` CLI for a specific organization:
```shell
gh api \
--jq '.default_workflow_permissions' \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/orgs//actions/permissions/workflow
read
```
- Configured on org level via `https://github.com/organizations//settings/actions`
- Could it be configured as a Jupyter Enterprise policy for all orgs?
I'm not sure, but let us only do that when each non-archived org has transitioned already.
List of Jupyter orgs
```python
non_archived_jupyter_orgs = [
"binder-examples",
"binderhub-ci-repos", # read
"ipython",
"jupyter",
"jupyter-book",
"jupyter-governance",
"jupyter-incubator",
"jupyter-server",
"jupyter-standards",
"jupyter-widgets",
"jupyter-xeus",
"jupytercon",
"jupyterhub", # read
"jupyterlab",
"voila-dashboards",
"voila-gallery",
]
archived_jupyter_orgs = [
"jupyter-attic",
"jupyter-resources",
"jupyter-standard",
"pickleshare",
]
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.