You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2022/09/21 03:37:35 UTC

[apisix] branch master updated: ci: enable lint on push (#7941)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 41474f9e0 ci: enable lint on push (#7941)
41474f9e0 is described below

commit 41474f9e0fccce0620a49bb43068a197c8aa4a4e
Author: zhixiongdu <ro...@libssl.com>
AuthorDate: Wed Sep 21 11:37:27 2022 +0800

    ci: enable lint on push (#7941)
    
    Co-authored-by: 罗泽轩 <sp...@gmail.com>
---
 .github/workflows/doc-lint.yml | 4 ++++
 .github/workflows/lint.yml     | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/doc-lint.yml b/.github/workflows/doc-lint.yml
index 624a03e08..e2a2c3620 100644
--- a/.github/workflows/doc-lint.yml
+++ b/.github/workflows/doc-lint.yml
@@ -1,6 +1,10 @@
 name: Doc Lint
 
 on:
+  push:
+    paths:
+      - 'docs/**'
+      - '**/*.md'
   pull_request:
     branches: [master, 'release/**']
     paths:
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 2ba48fdec..61e279a86 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,6 +1,6 @@
 name: ❄️ Lint
 
-on: [pull_request]
+on: [push, pull_request]
 
 permissions:
   contents: read