You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by zh...@apache.org on 2022/06/09 04:22:56 UTC

[incubator-devlake-website] branch main updated: fix: ci (#72)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 5a4d9d6  fix: ci (#72)
5a4d9d6 is described below

commit 5a4d9d665a685d9fed32ae74ae8b9e029e13718a
Author: Klesh Wong <zh...@merico.dev>
AuthorDate: Thu Jun 9 12:22:53 2022 +0800

    fix: ci (#72)
    
    * fix: ci
    
    * feat: ci should prevent failed pr being merged
---
 .asf.yaml                                                            | 5 +++++
 .github/workflows/pr_ci.yaml                                         | 4 +---
 .../index.md"                                                        | 4 ++--
 .../index.md"                                                        | 4 ++--
 4 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 22fcde9..17cd58e 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -28,6 +28,11 @@ github:
     squash:  true
     merge:   false
     rebase:  true
+  protected_branches:
+    main:
+      required_status_checks:
+        contexts:
+          - Build workflow
 
 publish:
   whoami: asf-site
diff --git a/.github/workflows/pr_ci.yaml b/.github/workflows/pr_ci.yaml
index aa9645d..76ef482 100644
--- a/.github/workflows/pr_ci.yaml
+++ b/.github/workflows/pr_ci.yaml
@@ -2,8 +2,6 @@ name: Build workflow
 
 on:
   pull_request:
-    branches:
-      - main
 
 jobs:
   build:
@@ -19,5 +17,5 @@ jobs:
           node-version: 17.8.x
       - name: Build Docusaurus website
         run: |
-          npm install 
+          npm install
           npm run build
diff --git "a/blog/2022-06-06-Apache Devlake\344\273\243\347\240\201\345\272\223\345\257\274\350\247\210/index.md" "b/blog/2022-06-06-Apache Devlake\344\273\243\347\240\201\345\272\223\345\257\274\350\247\210/index.md"
index 6613bbb..9050cdb 100644
--- "a/blog/2022-06-06-Apache Devlake\344\273\243\347\240\201\345\272\223\345\257\274\350\247\210/index.md"	
+++ "b/blog/2022-06-06-Apache Devlake\344\273\243\347\240\201\345\272\223\345\257\274\350\247\210/index.md"	
@@ -235,5 +235,5 @@ tags: [devlake, codebase]
 - Github地址:https://github.com/apache/incubator-devlake
 - 官网地址:https://devlake.apache.org/
 - <a href="https://join.slack.com/t/devlake-io/shared_invite/zt-18uayb6ut-cHOjiYcBwERQ8VVPZ9cQQw" target="_blank">Slack</a>: 通过Slack联系
-- 微信联系:<br>
-![img](wechat_community_barcode.png)
\ No newline at end of file
+- 微信联系:
+![img](wechat_community_barcode.png)
diff --git "a/i18n/zh/docusaurus-plugin-content-blog/2022-06-06-Apache Devlake\344\273\243\347\240\201\345\272\223\345\257\274\350\247\210/index.md" "b/i18n/zh/docusaurus-plugin-content-blog/2022-06-06-Apache Devlake\344\273\243\347\240\201\345\272\223\345\257\274\350\247\210/index.md"
index 6613bbb..9050cdb 100644
--- "a/i18n/zh/docusaurus-plugin-content-blog/2022-06-06-Apache Devlake\344\273\243\347\240\201\345\272\223\345\257\274\350\247\210/index.md"	
+++ "b/i18n/zh/docusaurus-plugin-content-blog/2022-06-06-Apache Devlake\344\273\243\347\240\201\345\272\223\345\257\274\350\247\210/index.md"	
@@ -235,5 +235,5 @@ tags: [devlake, codebase]
 - Github地址:https://github.com/apache/incubator-devlake
 - 官网地址:https://devlake.apache.org/
 - <a href="https://join.slack.com/t/devlake-io/shared_invite/zt-18uayb6ut-cHOjiYcBwERQ8VVPZ9cQQw" target="_blank">Slack</a>: 通过Slack联系
-- 微信联系:<br>
-![img](wechat_community_barcode.png)
\ No newline at end of file
+- 微信联系:
+![img](wechat_community_barcode.png)