chore: fix CI not work for pull request (#10923)

This commit is contained in:
neverland 2022-08-17 11:48:19 +08:00 committed by GitHub
parent 4e83e5ecc0
commit 68b93a4008
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

@ -4,6 +4,8 @@ on:
push:
branches: [dev, 2.x, gh-pages]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest

View File

@ -1,6 +1,15 @@
name: CI
on: [push]
on:
push:
branches:
- '**'
pull_request:
branches:
- dev
workflow_dispatch:
jobs:
lint: