Skip to content

Comments

fix: only run workflow build and deploy image action if scheduled or auto run if on…#4214

Open
Ma77Ball wants to merge 2 commits intoapache:mainfrom
Ma77Ball:fix/BuildPushImageAlwaysRuns
Open

fix: only run workflow build and deploy image action if scheduled or auto run if on…#4214
Ma77Ball wants to merge 2 commits intoapache:mainfrom
Ma77Ball:fix/BuildPushImageAlwaysRuns

Conversation

@Ma77Ball
Copy link
Contributor

What changes were proposed in this PR?

This PR fixes the CI workflow so the “build and push images” job does not run on every contributor’s branch. The job is now gated with a job-level condition:

if: github.event_name != 'schedule' || github.repository == 'apache/texera'

This ensures the job runs for normal (non-scheduled) events, and for scheduled runs only when the workflow is running in the upstream apache/texera repository.

Any related issues, documentation, discussions?

N/A

How was this PR tested?

CI workflow change only. Verified the condition restricts scheduled runs to apache/texera while allowing non-scheduled events to proceed as before.

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

No

@github-actions github-actions bot added fix ci changes related to CI labels Feb 14, 2026
@Ma77Ball
Copy link
Contributor Author

@bobbai00 or @kunwp1, can you review the following PR?

@Ma77Ball Ma77Ball changed the title added job parameter to only run action if scheduled or auto run if on… fix: only run workflow build and deploy image action if scheduled or auto run if on… Feb 14, 2026
@chenlica chenlica requested review from bobbai00 and kunwp1 February 15, 2026 05:21
@chenlica
Copy link
Contributor

@bobbai00 @kunwp1 : please review this PR.

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

Labels

ci changes related to CI fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants