Skip to content

Feature/optimize GitHub actions#1016

Merged
arjunsuresh merged 4 commits into
mainfrom
feature/optimize-github-actions
Jul 2, 2026
Merged

Feature/optimize GitHub actions#1016
arjunsuresh merged 4 commits into
mainfrom
feature/optimize-github-actions

Conversation

@anandhu-eng

Copy link
Copy Markdown
Contributor

🧾 PR Checklist

  • Target branch is dev

📌 Note: PRs must be raised against dev. Do not commit directly to main.

📁 File Hygiene & Output Handling

  • No unintended files (e.g., logs, cache, temp files, pycache, output folders) are committed

📝 Comments & Communication

  • Proper inline comments are added to explain important or non-obvious changes
  • PR title and description clearly state what the PR does and why
  • Related issues (if any) are properly referenced (Fixes #, Related to #, etc.)

🛡️ Safety & Security

  • No secrets or credentials are committed
  • Paths, shell commands, and environment handling are safe and portable

anandhu-eng and others added 3 commits July 1, 2026 19:24
Drop older Python versions (3.8, 3.10, 3.12 where a newer existed) from
CI matrices to cut job counts. Updated scipy version-pin test to 1.11.x
which supports Python 3.12+.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace the catch-all 'paths: **' with targeted script directory lists
derived from each workflow's full dependency chain. Workflows now only
trigger when files in their actual execution path are modified:

- ABTF: automotive app, model, dataset, automotive src/utils
- ResNet50 / RGAT: inference app, dispatch, impl, model, loadgen, src
- mlcommons-cpp: C++ impl, model, loadgen, inference src
- script-features: automation/script/ core modules only
- submission-generation (inference + automotive): submission scripts, checker, src

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Benchmark workflows now run weekly on Sunday midnight UTC in addition
to PR-path triggers, and can be launched manually via workflow_dispatch.
Affected: abtf-poc, resnet50, rgat, mlcommons-cpp-resnet50,
submission-generation, script-features, image-classification-onnx.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@anandhu-eng
anandhu-eng requested a review from a team as a code owner July 1, 2026 14:41
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@anandhu-eng
anandhu-eng marked this pull request as draft July 1, 2026 14:44
@anandhu-eng
anandhu-eng marked this pull request as ready for review July 1, 2026 16:43
github.event.pull_request.head.* is empty on schedule and workflow_dispatch
events. Add || fallbacks so these workflows pull the correct repo/branch when
triggered by cron or manually:
  REPO/PR_HEAD_REPO → falls back to format('{0}/{1}', github.server_url, github.repository)
  BRANCH/PR_HEAD_REF → falls back to github.ref_name

Applies to all 7 workflows that received cron+dispatch in Step 3.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- '.github/workflows/test-image-classification-onnx.yml'
- '**'
- '!**.md'
schedule:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't think we should change this to schedule job.

@arjunsuresh
arjunsuresh merged commit c711de4 into main Jul 2, 2026
134 of 141 checks passed
@arjunsuresh
arjunsuresh deleted the feature/optimize-github-actions branch July 2, 2026 17:05
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants