From 8f02eb0a34a3471b5fed266934a24bfd2280d543 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Wed, 5 Jun 2024 17:59:11 -0700 Subject: [PATCH] fix: Cypress CI process while opening PR from a fork (#29098) --- .github/workflows/superset-e2e.yml | 1 - superset/__init__.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/.github/workflows/superset-e2e.yml b/.github/workflows/superset-e2e.yml index c5a357d9b..f59843c01 100644 --- a/.github/workflows/superset-e2e.yml +++ b/.github/workflows/superset-e2e.yml @@ -68,7 +68,6 @@ jobs: if: github.event_name == 'push' || github.event_name == 'pull_request' uses: actions/checkout@v2 with: - ref: ${{ github.event.pull_request.head.ref || github.ref }} persist-credentials: false submodules: recursive - name: Checkout using ref (workflow_dispatch) diff --git a/superset/__init__.py b/superset/__init__.py index d82ba9600..cbab58e0d 100644 --- a/superset/__init__.py +++ b/superset/__init__.py @@ -14,8 +14,6 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -"""Package's main module!""" - from flask import current_app, Flask from werkzeug.local import LocalProxy