Skip to content

Commit

Permalink
Update Go workflow trigger
Browse files Browse the repository at this point in the history
Only build on pushes to main (not other branches) but build on all pull
requests (e.g. stacked PRs).
  • Loading branch information
gdetrez committed Dec 25, 2024
1 parent ad0380b commit 2488f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Go

on:
push:
pull_request:
branches: [ "main" ]
pull_request:

permissions:
contents: read
Expand Down

0 comments on commit 2488f40

Please sign in to comment.