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

zhaojinchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 1fb445aae84 Remove useless script (#28725)
1fb445aae84 is described below

commit 1fb445aae84aa6a44547849464ca39086dd1e2c8
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Thu Oct 12 10:20:21 2023 +0800

    Remove useless script (#28725)
    
    * Automated Change
    
    * Automated Change
    
    * Automated Change
    
    * Refactor : refactor the useless script
    
    * Refactor : remove useless file
    
    ---------
    
    Co-authored-by: taojintianxia <[email protected]>
---
 .github/workflows/nightly-build.yml     | 2 +-
 .github/workflows/required-reusable.yml | 7 -------
 2 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/.github/workflows/nightly-build.yml 
b/.github/workflows/nightly-build.yml
index 31c343584dc..3a414ead761 100644
--- a/.github/workflows/nightly-build.yml
+++ b/.github/workflows/nightly-build.yml
@@ -71,7 +71,7 @@ jobs:
           remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}
 
   build-proxy-image:
-    if: ${{ needs.global-environment.outputs.GLOBAL_IS_NIGHTLY_JOB_EXECUTABLE 
== 'true' }}
+    if: github.repository == 'apache/shardingsphere'
     name: Build Proxy Image
     needs: global-environment
     runs-on: ${{ needs.global-environment.outputs.GLOBAL_RUNS_ON }}
diff --git a/.github/workflows/required-reusable.yml 
b/.github/workflows/required-reusable.yml
index 159952a1b9d..03534c0ac73 100644
--- a/.github/workflows/required-reusable.yml
+++ b/.github/workflows/required-reusable.yml
@@ -56,13 +56,6 @@ jobs:
           if [ ${{ toJSON(github.repository) }} = ${{ 
steps.import-variables.outputs.GLOBAL_REPOSITORY }} ]; then
             echo "GLOBAL_IS_NIGHTLY_JOB_EXECUTABLE=true" >> $GITHUB_OUTPUT
             echo "GLOBAL_JOB_ENABLED=false" >> $GITHUB_OUTPUT
-            echo '${{ env.JSON_LABELS }}' | while read line
-            do
-              if [ ${line}="type: ${{ 
steps.import-variables.outputs.RUNNABLE_CI_LABEL }}" ] || [ -z "${{ 
steps.import-variables.outputs.RUNNABLE_CI_LABEL }}" ]; then
-                echo "GLOBAL_JOB_ENABLED=true" >> $GITHUB_OUTPUT
-                break
-              fi
-            done
           fi
     outputs:
       GLOBAL_RUNS_ON: ${{ steps.import-variables.outputs.GLOBAL_RUNS_ON }}

Reply via email to