EnricoMi opened a new pull request, #36263:
URL: https://github.com/apache/spark/pull/36263

   ### What changes were proposed in this pull request?
   Make `git commit` in `.github/workflows/build_and_test.yml` work with empty 
commits by adding `--allow-empty` to the command.
   
   ### Why are the changes needed?
   Whenever I sync my fork master from upstream Apache master, CI fails: 
https://github.com/G-Research/spark/runs/5972229542?check_suite_focus=true
   
   ```
   From https://github.com/G-Research/spark
    * branch                  master     -> FETCH_HEAD
   Already up to date. (nothing to squash)
   On branch master
   Your branch is up to date with 'origin/master'.
   
   nothing to commit, working tree clean
   Error: Process completed with exit code 1.
   ```
   
   Since my fork master is without changes, the `git commit` fails. This is 
annoying.
   
   The same issue makes the scheduled build and test workflow fail multiple 
times a day.
   
   ### Does this PR introduce _any_ user-facing change?
   No, this is CI only.
   
   ### How was this patch tested?
   Tested `git commit --allow-empty` with no changes on command line.


-- 
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