Skip to content

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.

Revert "enforcing labels in PR before merge" (#7366)

Myles Scolnick68535c35d298
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index bc322991cd..f22ad65647 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -1,12 +1,8 @@
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:
- pull_request:
- types: [labeled, unlabeled, opened, edited, synchronize]
+on: [pull_request_target]
permissions:
contents: read
@@ -14,19 +10,8 @@ permissions:
jobs:
label:
- if: github.event_name == 'pull_request_target'
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
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']"