This is an automated email from the ASF dual-hosted git repository.

dpgaspar pushed a commit to branch fix/ci-ephemeral-use-labels
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/fix/ci-ephemeral-use-labels by 
this push:
     new b801da9d54 fix 7
b801da9d54 is described below

commit b801da9d54d0c18259e5737a4cb278c0dbe5496c
Author: Daniel Gaspar <[email protected]>
AuthorDate: Wed Jan 29 12:06:20 2025 +0000

    fix 7
---
 .github/workflows/ephemeral-env.yml | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/.github/workflows/ephemeral-env.yml 
b/.github/workflows/ephemeral-env.yml
index f722c091cb..7cdef1b467 100644
--- a/.github/workflows/ephemeral-env.yml
+++ b/.github/workflows/ephemeral-env.yml
@@ -53,27 +53,6 @@ jobs:
             exit 1
           fi
 
-      - name: Get PR Info
-        uses: actions/github-script@v7
-        id: get-pr-info
-        with:
-          script: |
-            const pull_number = context.payload.pull_request
-              ? context.payload.pull_request.number
-              : context.payload.inputs.issue_number;
-
-            if (!pull_number) {
-              throw new Error("Pull request number is not available.");
-            }
-
-            const pr = await github.rest.pulls.get({
-              owner: context.repo.owner,
-              repo: context.repo.repo,
-              pull_number,
-            });
-
-            return pr.data;
-
       - name: Check if a commit was pushed after PR was labeled
         id: get-sha
         run: |

Reply via email to