You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/04/26 03:41:52 UTC
[incubator-opendal] branch main updated: ci: Mark job as skipped if owner is not apache (#2128)
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 42f5d595 ci: Mark job as skipped if owner is not apache (#2128)
42f5d595 is described below
commit 42f5d595b6a4571746c035343454980c915f347b
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Wed Apr 26 11:41:47 2023 +0800
ci: Mark job as skipped if owner is not apache (#2128)
* ci: Mark job as skipped if secrets not loaded
Signed-off-by: Xuanwo <gi...@xuanwo.io>
* Check owner instead
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---------
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
.github/workflows/service_test_azdfs.yml | 2 +-
.github/workflows/service_test_gcs.yml | 1 +
.github/workflows/service_test_ghac.yml | 1 +
.github/workflows/service_test_obs.yml | 1 +
.github/workflows/service_test_oss.yml | 1 +
.github/workflows/service_test_s3.yml | 3 +++
6 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/service_test_azdfs.yml b/.github/workflows/service_test_azdfs.yml
index a9152f4d..d686d0c9 100644
--- a/.github/workflows/service_test_azdfs.yml
+++ b/.github/workflows/service_test_azdfs.yml
@@ -39,7 +39,7 @@ concurrency:
jobs:
azure_azdfs:
runs-on: ubuntu-latest
-
+ if: ${{ github.repository_owner == 'apache' }}
steps:
- uses: actions/checkout@v3
- name: Setup Rust toolchain
diff --git a/.github/workflows/service_test_gcs.yml b/.github/workflows/service_test_gcs.yml
index 732fe079..40838834 100644
--- a/.github/workflows/service_test_gcs.yml
+++ b/.github/workflows/service_test_gcs.yml
@@ -39,6 +39,7 @@ concurrency:
jobs:
gcs:
runs-on: ubuntu-latest
+ if: ${{ github.repository_owner == 'apache' }}
steps:
- uses: actions/checkout@v3
- name: Setup Rust toolchain
diff --git a/.github/workflows/service_test_ghac.yml b/.github/workflows/service_test_ghac.yml
index 02044cfe..e61d09a3 100644
--- a/.github/workflows/service_test_ghac.yml
+++ b/.github/workflows/service_test_ghac.yml
@@ -39,6 +39,7 @@ concurrency:
jobs:
ghac:
runs-on: ubuntu-latest
+ if: ${{ github.repository_owner == 'apache' }}
steps:
- uses: actions/checkout@v3
- name: Setup Rust toolchain
diff --git a/.github/workflows/service_test_obs.yml b/.github/workflows/service_test_obs.yml
index 39dc82bc..fca4b747 100644
--- a/.github/workflows/service_test_obs.yml
+++ b/.github/workflows/service_test_obs.yml
@@ -39,6 +39,7 @@ concurrency:
jobs:
obs:
runs-on: ubuntu-latest
+ if: ${{ github.repository_owner == 'apache' }}
steps:
- uses: actions/checkout@v3
- name: Setup Rust toolchain
diff --git a/.github/workflows/service_test_oss.yml b/.github/workflows/service_test_oss.yml
index 232a2fbe..90c0afd3 100644
--- a/.github/workflows/service_test_oss.yml
+++ b/.github/workflows/service_test_oss.yml
@@ -39,6 +39,7 @@ concurrency:
jobs:
oss:
runs-on: ubuntu-latest
+ if: ${{ github.repository_owner == 'apache' }}
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 72c7a9cd..dd71f731 100644
--- a/.github/workflows/service_test_s3.yml
+++ b/.github/workflows/service_test_s3.yml
@@ -39,6 +39,7 @@ concurrency:
jobs:
aws_s3:
runs-on: ubuntu-latest
+ if: ${{ github.repository_owner == 'apache' }}
steps:
- uses: actions/checkout@v3
- name: Setup Rust toolchain
@@ -60,6 +61,7 @@ jobs:
aws_s3_with_virtual_host:
runs-on: ubuntu-latest
+ if: ${{ github.repository_owner == 'apache' }}
steps:
- uses: actions/checkout@v3
- name: Setup Rust toolchain
@@ -82,6 +84,7 @@ jobs:
aws_s3_with_sse_c:
runs-on: ubuntu-latest
+ if: ${{ github.repository_owner == 'apache' }}
steps:
- uses: actions/checkout@v3
- name: Setup Rust toolchain