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

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new fb04515a3 ci: restrict workflow that need password (#3039)
fb04515a3 is described below

commit fb04515a31f7039d197408a7f73667daaaf03eed
Author: Liuqing Yue <[email protected]>
AuthorDate: Tue Sep 12 20:31:34 2023 +0800

    ci: restrict workflow that need password (#3039)
    
    Signed-off-by: GitHub <[email protected]>
---
 .github/workflows/service_test_azblob.yml   | 2 +-
 .github/workflows/service_test_cos.yml      | 2 +-
 .github/workflows/service_test_dropbox.yml  | 2 +-
 .github/workflows/service_test_gdrive.yml   | 2 +-
 .github/workflows/service_test_s3.yml       | 2 +-
 .github/workflows/service_test_supabase.yml | 2 +-
 .github/workflows/service_test_wasabi.yml   | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/service_test_azblob.yml 
b/.github/workflows/service_test_azblob.yml
index eeee47b73..6592c925d 100644
--- a/.github/workflows/service_test_azblob.yml
+++ b/.github/workflows/service_test_azblob.yml
@@ -75,7 +75,7 @@ jobs:
 
   azure_azblob:
     runs-on: ubuntu-latest
-    if: github.event_name == 'push' || 
!github.event.pull_request.head.repo.fork
+    if: (github.event_name == 'push' && github.repository == 
'apache/incubator-opendal') || !github.event.pull_request.head.repo.fork
     steps:
       - uses: actions/checkout@v3
       - name: Setup Rust toolchain
diff --git a/.github/workflows/service_test_cos.yml 
b/.github/workflows/service_test_cos.yml
index 181fd11d4..4418cb027 100644
--- a/.github/workflows/service_test_cos.yml
+++ b/.github/workflows/service_test_cos.yml
@@ -39,7 +39,7 @@ concurrency:
 jobs:
   cos:
     runs-on: ubuntu-latest
-    if: github.event_name == 'push' || 
!github.event.pull_request.head.repo.fork
+    if: (github.event_name == 'push' && github.repository == 
'apache/incubator-opendal') || !github.event.pull_request.head.repo.fork
     steps:
       - uses: actions/checkout@v3
       - name: Setup Rust toolchain
diff --git a/.github/workflows/service_test_dropbox.yml 
b/.github/workflows/service_test_dropbox.yml
index 0bc02c895..1e1f5062d 100644
--- a/.github/workflows/service_test_dropbox.yml
+++ b/.github/workflows/service_test_dropbox.yml
@@ -39,7 +39,7 @@ concurrency:
 jobs:
   dropbox:
     runs-on: ubuntu-latest
-    if: github.event_name == 'push' || 
!github.event.pull_request.head.repo.fork
+    if: (github.event_name == 'push' && github.repository == 
'apache/incubator-opendal') || !github.event.pull_request.head.repo.fork
     steps:
       - uses: actions/checkout@v3
       - name: Setup Rust toolchain
diff --git a/.github/workflows/service_test_gdrive.yml 
b/.github/workflows/service_test_gdrive.yml
index 0d000c384..03e388dce 100644
--- a/.github/workflows/service_test_gdrive.yml
+++ b/.github/workflows/service_test_gdrive.yml
@@ -39,7 +39,7 @@ concurrency:
 jobs:
   gdrive:
     runs-on: ubuntu-latest
-    if: github.event_name == 'push' || 
!github.event.pull_request.head.repo.fork
+    if: (github.event_name == 'push' && github.repository == 
'apache/incubator-opendal') || !github.event.pull_request.head.repo.fork
     steps:
       - uses: actions/checkout@v3
       - name: Setup Rust toolchain
diff --git a/.github/workflows/service_test_s3.yml 
b/.github/workflows/service_test_s3.yml
index 2a280c7b9..744164603 100644
--- a/.github/workflows/service_test_s3.yml
+++ b/.github/workflows/service_test_s3.yml
@@ -176,7 +176,7 @@ jobs:
 
   r2:
     runs-on: ubuntu-latest
-    if: github.event_name == 'push' || 
!github.event.pull_request.head.repo.fork
+    if: (github.event_name == 'push' && github.repository == 
'apache/incubator-opendal') || !github.event.pull_request.head.repo.fork
     steps:
       - uses: actions/checkout@v3
       - name: Setup Rust toolchain
diff --git a/.github/workflows/service_test_supabase.yml 
b/.github/workflows/service_test_supabase.yml
index 08d449ccb..4f446b4b5 100644
--- a/.github/workflows/service_test_supabase.yml
+++ b/.github/workflows/service_test_supabase.yml
@@ -39,7 +39,7 @@ concurrency:
 jobs:
   supabase:
     runs-on: ubuntu-latest
-    if: github.event_name == 'push' || 
!github.event.pull_request.head.repo.fork
+    if: (github.event_name == 'push' && github.repository == 
'apache/incubator-opendal') || !github.event.pull_request.head.repo.fork
     steps:
       - uses: actions/checkout@v3
       - name: Setup Rust toolchain
diff --git a/.github/workflows/service_test_wasabi.yml 
b/.github/workflows/service_test_wasabi.yml
index b50f2e85d..ed86b4613 100644
--- a/.github/workflows/service_test_wasabi.yml
+++ b/.github/workflows/service_test_wasabi.yml
@@ -39,7 +39,7 @@ concurrency:
 jobs:
   wasabi:
     runs-on: ubuntu-latest
-    if: github.event_name == 'push' || 
!github.event.pull_request.head.repo.fork
+    if: (github.event_name == 'push' && github.repository == 
'apache/incubator-opendal') || !github.event.pull_request.head.repo.fork
     steps:
       - uses: actions/checkout@v3
       - name: Setup Rust toolchain

Reply via email to