Skip to content

Pass github_event_name to Airflow DAG trigger#4508

Merged
copybara-service[bot] merged 1 commit into
mainfrom
user/jackyf/restrict-manual-trigger
Jul 16, 2026
Merged

Pass github_event_name to Airflow DAG trigger#4508
copybara-service[bot] merged 1 commit into
mainfrom
user/jackyf/restrict-manual-trigger

Conversation

@RexBearIU

@RexBearIU RexBearIU commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Description

Restrict E2E tests to scheduled runs in the nightly pipeline.

This PR adds an if: github.event_name == 'schedule' condition to the run_e2e_tests job in nightly_images_pipeline.yml. This prevents manual workflow runs (workflow_dispatch) of the nightly build from triggering the Airflow E2E tests DAG, while still allowing the scheduled nightly runs to trigger them.

This is a cleaner way to restrict the trigger at the source, ensuring we don't waste Airflow resources on manual runs and don't break other pipelines (like the release pipeline) that also trigger these tests.

Related changes in ml-auto-solutions-3: CIeNET-International/ml-auto-solutions-3#301

Tests

Verified by checking the workflow file structure.

Checklist

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@copybara-service
copybara-service Bot merged commit e932496 into main Jul 16, 2026
71 of 73 checks passed
@copybara-service
copybara-service Bot deleted the user/jackyf/restrict-manual-trigger branch July 16, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants