mirror of
https://github.com/coredns/coredns.git
synced 2025-10-26 15:54:16 -04:00
Only run Go tests for push on master.
Add a branch filter to only run tests for "push" on master. This avoids double-running tests on PRs. Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
5
.github/workflows/go.test.yml
vendored
5
.github/workflows/go.test.yml
vendored
@@ -1,5 +1,8 @@
|
||||
name: Go Tests
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [master]
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
||||
Reference in New Issue
Block a user