From 1d15855ceeb351326980a8b2afaa1aa1b7285129 Mon Sep 17 00:00:00 2001 From: neilotoole Date: Fri, 10 Nov 2023 13:45:23 -0700 Subject: [PATCH] Modify workflows to not run on README updates --- .github/workflows/go.yml | 4 ++++ .github/workflows/golangci-lint.yml | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e7fcf81..257fead 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,7 +2,11 @@ name: Go on: push: + paths-ignore: + - '**.md' pull_request: + paths-ignore: + - '**.md' jobs: build: diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index d2cb052..993145f 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -1,10 +1,11 @@ name: golangci-lint on: push: - branches: - - master - - main + paths-ignore: + - '**.md' pull_request: + paths-ignore: + - '**.md' permissions: contents: read