A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
ci: explicit permissions (#6886)
Myles Scolnick4e2f58f0edbb
diff --git a/.github/workflows/dev-release.yml b/.github/workflows/dev-release.ymlindex c38710ffdd..1e9c72d317 100644--- a/.github/workflows/dev-release.yml+++ b/.github/workflows/dev-release.yml@@ -6,6 +6,10 @@ on:branches:- main+permissions:+ contents: read+ pull-requests: write+env:TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}TURBO_TEAM: marimodiff --git a/.github/workflows/dev_build.yaml b/.github/workflows/dev_build.yamlindex b3831917f2..a993c91c20 100644--- a/.github/workflows/dev_build.yaml+++ b/.github/workflows/dev_build.yaml@@ -6,6 +6,9 @@ on:- 'Makefile'- 'pyproject.toml'+permissions:+ contents: read+jobs:build:strategy:diff --git a/.github/workflows/discord-release.yml b/.github/workflows/discord-release.ymlindex b35b1eb971..fcde3c5ad9 100644--- a/.github/workflows/discord-release.yml+++ b/.github/workflows/discord-release.yml@@ -4,6 +4,9 @@ on:release:types: [published]+permissions:+ contents: read+jobs:github-releases-to-discord:runs-on: ubuntu-latestdiff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex 137c721cb4..123cba1cb0 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -7,6 +7,9 @@ on:# Deploy on workflow dispatchworkflow_dispatch: {}+permissions:+ contents: read+env:VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}diff --git a/.github/workflows/marimo-bot.yml b/.github/workflows/marimo-bot.ymlindex a60b52ec10..68553c630b 100644--- a/.github/workflows/marimo-bot.yml+++ b/.github/workflows/marimo-bot.yml@@ -4,6 +4,10 @@ on:issue_comment:types: [created]+permissions:+ contents: read+ pull-requests: write+env:TURBO_TEAM: marimodiff --git a/.github/workflows/notify-readme-owners.yml b/.github/workflows/notify-readme-owners.ymlindex 36f8ee2342..7f7aef0d06 100644--- a/.github/workflows/notify-readme-owners.yml+++ b/.github/workflows/notify-readme-owners.yml@@ -5,6 +5,10 @@ on:paths:- 'README.md'+permissions:+ contents: read+ pull-requests: write+jobs:notify-translators:# Only run this job when the PR is merged, not when it's closed without mergingdiff --git a/.github/workflows/pages.yml b/.github/workflows/pages.ymlindex dc81dd3b02..e742164536 100644--- a/.github/workflows/pages.yml+++ b/.github/workflows/pages.yml@@ -16,8 +16,7 @@ jobs:runs-on: ubuntu-latestpermissions:- pull-requests: write- contents: write+ contents: readsteps:- uses: actions/checkout@v4diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.ymlindex 6764ae478e..2231c240f9 100644--- a/.github/workflows/playwright.yml+++ b/.github/workflows/playwright.yml@@ -5,6 +5,9 @@ on:branches: [main]pull_request:+permissions:+ contents: read+env:MARIMO_SKIP_UPDATE_CHECK: 1diff --git a/.github/workflows/release-marimo-base.yml b/.github/workflows/release-marimo-base.ymlindex 5e823613c1..335a0272ce 100644--- a/.github/workflows/release-marimo-base.yml+++ b/.github/workflows/release-marimo-base.yml@@ -7,6 +7,9 @@ on:- "[0-9]+.[0-9]+.[0-9]+"workflow_dispatch: {}+permissions:+ contents: read+env:TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}TURBO_TEAM: marimodiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex ed50370a92..f04fc58ccd 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -7,6 +7,9 @@ on:- '[0-9]+.[0-9]+.[0-9]+'workflow_dispatch: {}+permissions:+ contents: read+env:TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}TURBO_TEAM: marimodiff --git a/.github/workflows/test_be.yaml b/.github/workflows/test_be.yamlindex 301d7c2150..9347aa5e1d 100644--- a/.github/workflows/test_be.yaml+++ b/.github/workflows/test_be.yaml@@ -5,6 +5,9 @@ on:branches: [main]pull_request:+permissions:+ contents: read+env:MARIMO_SKIP_UPDATE_CHECK: 1diff --git a/.github/workflows/test_cli.yaml b/.github/workflows/test_cli.yamlindex 8af8e4f530..22525beeba 100644--- a/.github/workflows/test_cli.yaml+++ b/.github/workflows/test_cli.yaml@@ -5,6 +5,9 @@ on:branches: [main]pull_request:+permissions:+ contents: read+env:TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}TURBO_TEAM: marimodiff --git a/.github/workflows/test_schemas.yaml b/.github/workflows/test_schemas.yamlindex d074717d82..03593ed56f 100644--- a/.github/workflows/test_schemas.yaml+++ b/.github/workflows/test_schemas.yaml@@ -6,6 +6,10 @@ on:- 'marimo/_schemas/**/*.yaml'- 'packages/openapi/api.yaml'+permissions:+ contents: read+ pull-requests: write+jobs:changes:runs-on: ubuntu-latestdiff --git a/.github/workflows/test_typos.yaml b/.github/workflows/test_typos.yamlindex 4ab9e72aa9..ba946de556 100644--- a/.github/workflows/test_typos.yaml+++ b/.github/workflows/test_typos.yaml@@ -4,6 +4,9 @@ name: Typoson:pull_request: {}+permissions:+ contents: read+jobs:typos:name: Check for typos