From 5bd7a4118296dbf15798472f310c936e8a62bd35 Mon Sep 17 00:00:00 2001 From: Daniele Santos Date: Tue, 25 May 2021 15:49:39 -0400 Subject: [PATCH] only trigger actions for pushes against the master branch --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51d1d3a4..8472ef43 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,12 @@ name: CI -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + branches: [master] jobs: test: - strategy: - matrix: - go-version: [1.16.x] runs-on: ubuntu-latest steps: - name: Install Go