Skip to content

Commit dc8d1a5

Browse files
ci: ignore draft or wip pull request (alibaba#285)
1 parent ed8c010 commit dc8d1a5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/01-ci-pipeline.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ permissions:
2222
jobs:
2323
# Code quality checks (fast, run first)
2424
lint:
25+
if: >-
26+
github.event_name != 'pull_request' ||
27+
(!github.event.pull_request.draft &&
28+
!contains(github.event.pull_request.title, 'wip'))
2529
uses: ./.github/workflows/02-lint-check.yml
2630

2731
# Main build and test matrix

0 commit comments

Comments
 (0)