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
fix: use context.issue in notify translators (#4587)
Akshay Agrawal05a54abab418
diff --git a/.github/workflows/notify-readme-owners.yml b/.github/workflows/notify-readme-owners.ymlindex 0143cb40cb..bcea860177 100644--- a/.github/workflows/notify-readme-owners.yml+++ b/.github/workflows/notify-readme-owners.yml@@ -1,5 +1,4 @@name: README Translation Notification-on:pull_request:types: [closed]@@ -11,6 +10,7 @@ jobs:# Only run this job when the PR is merged, not when it's closed without mergingif: github.event.pull_request.merged == trueruns-on: ubuntu-latest+steps:- name: Checkout repositoryuses: actions/checkout@v4@@ -26,27 +26,25 @@ jobs:{ file: 'README_Japanese.md', language: 'Japanese', maintainers: ['@kiwamizamurai'] },{ file: 'README_Spanish.md', language: 'Spanish', maintainers: ['@Francisco-G-P'] }];-+// Create a notification comment tagging all translation maintainers- const maintainersList = translations.map(t =>+ const maintainersList = translations.map(t =>`- ${t.language} (${t.file}): ${t.maintainers.join(', ')}`).join('\n');-- const comment = `- ## README Translation Update Needed-++ const comment = `## README Translation Update Needed+This PR includes changes to the main README.md. The following translation files may need to be updated:-+${maintainersList}-+Translation maintainers, please review the changes in this PR and update your respective README translations accordingly.-- CC: ${translations.flatMap(t => t.maintainers).join(' ')}- `;++ CC: ${translations.flatMap(t => t.maintainers).join(' ')}`;await github.rest.issues.createComment({owner: context.repo.owner,repo: context.repo.repo,- issue_number: github.event.number,+ issue_number: context.issue.number,body: comment});diff --git a/README.md b/README.mdindex 82c93307e4..e6fa50c41a 100644--- a/README.md+++ b/README.md@@ -23,7 +23,7 @@</p><p align="center">-<a href="https://pypi.org/project/marimo/"><img src="https://img.shields.io/pypi/v/marimo?color=%2334D058&label=pypi" /></a>+<a href="https://pypi.org/project/marimo/"><img src="https://img.shields.io/pypi/v/marimo?color=%2334D058&label=pypi"/></a><a href="https://anaconda.org/conda-forge/marimo"><img src="https://img.shields.io/conda/vn/conda-forge/marimo.svg"/></a><a href="https://marimo.io/discord?ref=readme"><img src="https://shields.io/discord/1059888774789730424" alt="discord" /></a><img alt="Pepy Total Downloads" src="https://img.shields.io/pepy/dt/marimo?label=pypi%20%7C%20downloads"/>