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
enforcing labels in PR before merge (#7315)
Shahmir Varqhaafb4adcdf51b
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.ymlindex f22ad65647..bc322991cd 100644--- a/.github/workflows/labeler.yml+++ b/.github/workflows/labeler.yml@@ -1,8 +1,12 @@name: 🏷️ Pull Request Labeler# Label pull requests based on config in .github/labeler.yml+# Then enforce that at least one label is selected-on: [pull_request_target]+on:+ pull_request_target:+ pull_request:+ types: [labeled, unlabeled, opened, edited, synchronize]permissions:contents: read@@ -10,8 +14,19 @@ permissions:jobs:label:+ if: github.event_name == 'pull_request_target'runs-on: ubuntu-lateststeps:- uses: actions/labeler@v5with:repo-token: ${{ secrets.GITHUB_TOKEN }}++ enforce-label:+ needs: [label]+ if: always() && (needs.label.result == 'success' || needs.label.result == 'skipped')+ runs-on: ubuntu-latest+ steps:+ - uses: yogevbd/[email protected]+ with:+ REQUIRED_LABELS_ANY: "enhancement,bug,documentation,internal,preview,other"+ REQUIRED_LABELS_ANY_DESCRIPTION: "Select at least one label ['enhancement','bug','documentation','internal','preview','other']"