Skip to content

ci: restrict self-hosted TPU unit tests to in-repo branches - #524

Merged
entrpn merged 1 commit into
mainfrom
jfacevedo/ci-restrict-tpu-unit-tests
Nov 24, 2026
Merged

entrpn merged 1 commit into
mainfrom
jfacevedo/ci-restrict-tpu-unit-tests

Conversation

@entrpn

@entrpn entrpn commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

Description

Restrict the UnitTests.yml self-hosted TPU job (build) to in-repo pull requests (alongside push to main, schedule, and workflow_dispatch), matching our workflow gating in gemini-dispatch.yml.

Checklist

  • I have performed a self-review of my code.

@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@github-actions

Copy link
Copy Markdown

@Perseus14

Copy link
Copy Markdown
Collaborator

The if: guard looks good and all unit tests passed!

However, GitHub Actions Scan / zizmor-output is failing on two pre-existing unpinned-uses findings in .github/workflows/UnitTests.yml (triggered because the file was modified):

  • Line 43: actions/checkout@v4
  • Line 45: actions/setup-python@v5

Could you pin both actions to their full commit SHAs so zizmor-output passes? (Optionally, adding permissions: contents: read would also clear the excessive-permissions warning on line 34.)

@mbohlool mbohlool left a comment

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.

Just saw another comment on the PR, please address those comments.

@entrpn
entrpn merged commit b77ecf7 into main Nov 24, 2026
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants