Browse Source

fix(ci): remove lint check in push

This check while pushing to fork branch always return an error and an error email.
We only allow pr to merge code, it is not mandatory to check in push, so remove it

Signed-off-by: Jiyong Huang <huangjy@emqx.io>
Jiyong Huang 2 năm trước cách đây
mục cha
commit
56ae7fe299
1 tập tin đã thay đổi với 0 bổ sung7 xóa
  1. 0 7
      .github/workflows/lint.yaml

+ 0 - 7
.github/workflows/lint.yaml

@@ -1,12 +1,5 @@
 name: Lint
 name: Lint
 on:
 on:
-  push:
-    paths:
-      - '**.go'
-      - 'go.mod'
-      - 'go.sum'
-      - 'tools/check/revive.toml'
-      - '.github/workflows/lint.yaml'
   pull_request:
   pull_request:
     types: [opened, edited, synchronize, reopened]
     types: [opened, edited, synchronize, reopened]
     paths:
     paths: