Skip to content

Commit

Permalink
chore: update workflow
Browse files Browse the repository at this point in the history
Only trigger push event on master branch.
  • Loading branch information
knight42 committed Apr 17, 2022
1 parent 7cea093 commit 03124c0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Go

on: [push, pull_request]
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [master]
tags: ['*']

jobs:

build:
name: Build
runs-on: ubuntu-latest
Expand Down

0 comments on commit 03124c0

Please sign in to comment.