morningman opened a new pull request, #70587:
URL: https://github.com/apache/doris/pull/70587

   ### Background
   
   The macOS BE build, large-file check, and license check each run on pushes 
to `master`. The large-file and license workflows also check pull requests, and 
the macOS workflow has a daily schedule for warming its build cache.
   
   ### What problem does this PR solve?
   
   Issue Number: None
   Related PR: #70582 (example of unnecessary post-merge checks)
   PR Type: Build/CI/Chore
   
   Problem Summary:
   
   Every merge into `master` starts these three checks, even when the change 
only updates a skills submodule, as in #70582. These post-merge runs consume 
runners and can mark commits as failing because of unrelated build problems. 
Remove the `push` triggers and their event-specific code while preserving the 
existing PR checks and daily macOS build.
   
   ### Details
   
   - **Affected:** The macOS BE build on `macos-15` and the large-file and 
license checks on `ubuntu-latest` in GitHub Actions.
   - **Developer and release impact:** Merging into `master` no longer starts 
these checks. The macOS workflow keeps its daily cache warm-up; large-file 
warnings and incremental license checks still run for PRs. Local builds and 
release artifacts do not change.
   - **License and third-party:** None. Dependencies, license rules, and 
third-party artifacts do not change.
   - **Rollback:** Revert this commit to restore checks on pushes to `master`; 
no cache, runner, or secret changes are required.
   
   ### Testing
   
   - Parsed all 20 workflow YAML files locally with PyYAML and verified that 
none declares a `push` event. Compared against the parent revision to confirm 
that all other event definitions are preserved, including the macOS schedule 
and both PR triggers.
   - Checked that the large-file size and PR warning scripts and all 
license-check steps are unchanged. Ran `bash -n` on all seven embedded shell 
steps in the modified workflows.
   - Ran actionlint v1.7.12 on the three modified workflows. Both the parent 
revision and this change report the same existing `actions/checkout@v3` 
deprecation; validation passes when excluding that specific diagnostic.
   - No BE or FE build was run because the change only affects workflow 
triggers and removes the unused push path.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Behavior changed: No
   - Does this need documentation: No
   - Pre-submission status: Ready
   
   ### AI Disclosure
   
   - Tool: Codex (GPT-6)
   - Generated: Workflow edits and this description
   - Human review: not stated
   


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