Skip to content

ci: run PR builds in fork and mirror status to apache repo #4976

Open
Ma77Ball wants to merge 1 commit intoapache:mainfrom
Ma77Ball:feat/auto-ci-run
Open

ci: run PR builds in fork and mirror status to apache repo #4976
Ma77Ball wants to merge 1 commit intoapache:mainfrom
Ma77Ball:feat/auto-ci-run

Conversation

@Ma77Ball
Copy link
Copy Markdown
Contributor

@Ma77Ball Ma77Ball commented May 7, 2026

What changes were proposed in this PR?

Moves PR builds off the Apache repo and into the contributor's fork, so PRs from forks no longer need first-time-contributor approval and don't burn Apache's GitHub Actions minutes.

  • Adds fork-ci.yml that runs the full build matrix and license header check on every push to a branch in the contributor's fork. It is a no-op when run inside apache/texera.
  • Adds notify_test_workflow.yml that posts a Build status on the PR and links it to the matching fork CI run.
  • Adds update_build_status.yml that keeps the Build status in sync with the fork run as it progresses.
  • Removes the pull_request trigger from required-checks.yml and check-header.yml so they no longer duplicate fork CI on the Apache side.
  • Switches automatic-email-notif-on-ddl-change.yml from a pull_request: closed trigger to a push: main trigger so it stops queuing for approval on every fork PR.
  • Updates .asf.yaml so the required status checks are Build (mirrored from fork CI) and Validate PR title.

Any related issues, documentation, discussions?

Closes: #4290

How was this PR tested?

Tested manually on a fork:

  • Pushed branches and confirmed the full matrix ran in the fork.
  • Confirmed the Build status appears on the PR and updates to success or failure based on the fork run.
  • Confirmed pushes to main, release/**, and ci-enable/** in a fork are correctly skipped with a clear PR comment.
  • Confirmed required-checks.yml still runs on push to main, release/**, and ci-enable/** in the Apache repo.

Was this PR authored or co-authored using generative AI tooling?

Co-Authored with Claude Opus 4.7 in compliance with ASF

@github-actions github-actions Bot added feature ci changes related to CI labels May 7, 2026
@Ma77Ball
Copy link
Copy Markdown
Contributor Author

Ma77Ball commented May 7, 2026

@Yicong-Huang or @chenlica please review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci changes related to CI feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto-run CI build workflow for all PRs

1 participant