Skip to content

Commit

Permalink
Merge pull request quarkusio#40238 from gsmet/run-if-wip
Browse files Browse the repository at this point in the history
Run CI when title starts with WIP
  • Loading branch information
yrodiere authored Apr 24, 2024
2 parents fae267b + d3db508 commit ea41b08
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci-actions-incremental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,18 +93,12 @@ jobs:
name: "Initial JDK 17 Build"
runs-on: ubuntu-latest
# Skip main in forks
# Skip draft PRs and those with WIP in the subject, rerun as soon as its removed
# Skip draft PRs, rerun as soon as its removed
if: "(github.repository == 'quarkusio/quarkus' || !endsWith(github.ref, '/main')) && ( \
github.event_name != 'pull_request' || ( \
github.event.pull_request.draft == false && \
github.event.pull_request.state != 'closed' && \
contains(github.event.pull_request.title, 'wip ') == false && \
contains(github.event.pull_request.title, '[wip]') == false && \
(
github.event.action != 'edited' || \
contains(github.event.changes.title.from, 'wip ') || \
contains(github.event.changes.title.from, '[wip]') \
) \
github.event.action != 'edited' \
) \
)"
outputs:
Expand Down

0 comments on commit ea41b08

Please sign in to comment.