Skip to content

Restrict CI push trigger to main - #1

Merged
hoffmang9 merged 2 commits into
mainfrom
chore/ci-push-main-trigger
Mar 3, 2026
Merged

Restrict CI push trigger to main#1
hoffmang9 merged 2 commits into
mainfrom
chore/ci-push-main-trigger

Conversation

@hoffmang9

Copy link
Copy Markdown
Owner

Summary

  • Update .github/workflows/CI.yml triggers to run on pull_request and on push to main only.
  • Keep Python setup and unittest command unchanged.

Test plan

  • Inspect workflow file to confirm trigger block matches requested pattern.
  • Confirm branch is pushed and PR can run CI on pull_request.

Made with Cursor

Run CI on pull requests and on pushes to main only to avoid duplicate runs on non-main branch pushes.

Made-with: Cursor
Use a clearer job name in GitHub Actions so the check title is more descriptive than "test".

Made-with: Cursor
@hoffmang9
hoffmang9 merged commit 52905d7 into main Mar 3, 2026
1 check passed
@hoffmang9
hoffmang9 deleted the chore/ci-push-main-trigger branch March 3, 2026 04:24
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.

1 participant