From ee62eb7b230f57e3188fbdf65670a1c1db8601ba Mon Sep 17 00:00:00 2001 From: Will Elwood Date: Fri, 29 May 2020 14:06:02 +0100 Subject: [PATCH] Minor update to GH Actions workflow (#1341) * Update releases.yml Run CI for pull requests and new tags, and only when relevant files change in a push or PR. * Update releases.yml "Path filters are not evaluated for pushes to tags." --- .github/workflows/releases.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 1c65b659..43050b7c 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -1,4 +1,20 @@ -on: push +on: + push: + paths: + - "**.go" + - "go.*" + - "**/testdata/**" + - ".ci/**" + - ".git*" + - ".github/workflows/releases.yml" + pull_request: + paths: + - "**.go" + - "go.*" + - "**/testdata/**" + - ".ci/**" + - ".git*" + - ".github/workflows/releases.yml" name: CI and optionally publish