Skip to content

Run Lint and Tests on push to trunk branch #11325

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Unit and Integration Tests
on: [push, pull_request]
on:
push:
branches:
- trunk
pull_request:
Copy link
Preview

Copilot AI Jul 17, 2025

Choose a reason for hiding this comment

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

[nitpick] The pull_request trigger should specify which types of pull request events should trigger the workflow. Without explicit types, it defaults to opened, synchronize, and reopened. Consider adding explicit types for clarity: pull_request: { types: [opened, synchronize, reopened] }

Suggested change
pull_request:
pull_request:
types: [opened, synchronize, reopened]

Copilot uses AI. Check for mistakes.


permissions:
contents: read
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Lint
on:
push:
branches:
- trunk
paths:
- "**.go"
- go.mod
Expand Down
Loading