Commit 2327c994 authored by Muyang Li's avatar Muyang Li
Browse files

chore: skip draft pr for the linter

parent 0c7f5359
...@@ -4,8 +4,10 @@ on: ...@@ -4,8 +4,10 @@ on:
branches: branches:
- main - main
pull_request: pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs: jobs:
lint: lint:
if: github.event.pull_request.draft == false || github.event_name != 'pull_request'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment