Skip to content

Commit

Permalink
ci: Ignore draft pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxuanxia committed Oct 17, 2024
1 parent 45d0b45 commit 608a51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
build:
# 不需要在fork仓库的pr中运行
if: github.repository == 'Tencent/cherry-markdown'
if: github.repository == 'Tencent/cherry-markdown' && github.event.pull_request.draft == false
runs-on: ubuntu-latest
env:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
Expand Down

0 comments on commit 608a51f

Please sign in to comment.