chore: only run github action on main branch (#8)

Co-authored-by: Tran Hau <ngtranhau@gmail.com>
main
sudo pacman -Syu 2021-04-11 16:17:55 +07:00 committed by GitHub
parent 32a1b40013
commit 031241e0b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,12 @@
name: Go
on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test: