andygrove opened a new pull request, #4291:
URL: https://github.com/apache/datafusion-comet/pull/4291

   ## Which issue does this PR close?
   
   N/A.
   
   ## Rationale for this change
   
   Allow contributors to opt out of CI runs on work-in-progress PRs by adding 
`[skip ci]` to the PR title. Saves runner minutes for draft iterations where CI 
feedback is not yet needed. Push events on `main` are unaffected; GitHub 
already honors `[skip ci]` in commit messages for push triggers.
   
   ## What changes are included in this PR?
   
   Adds a job-level `if:` gate to the entry job of every PR-triggered workflow:
   
   ```yaml
   if: ${{ github.event_name != 'pull_request' || 
!contains(github.event.pull_request.title, '[skip ci]') }}
   ```
   
   Downstream jobs cascade-skip via their `needs:` chain. Affected workflows: 
`codeql`, `iceberg_spark_test`, `miri`, `pr_benchmark_check`, `pr_build_linux`, 
`pr_build_macos`, `pr_markdown_format`, `pr_missing_suites`, `pr_rat_check`, 
`pr_title_check`, `spark_sql_test`, `validate_workflows`.
   
   Note: removing `[skip ci]` from the title alone will not re-trigger 
workflows. A new push (or close/reopen) is required. This avoids re-triggering 
on every description edit, which would happen if `edited` were added to 
`pull_request.types`.
   
   ## How are these changes tested?
   
   YAML validity confirmed locally. Behavior verifiable by opening a follow-up 
PR with `[skip ci]` in the title and observing that all CI jobs are skipped.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to