From 7370fefe3c1c1dddde131e7a2d2d9e867c482716 Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Thu, 1 Aug 2024 15:18:26 -0700 Subject: [PATCH] Update workflow conditions - Don't run for README changes - Run style and test deploy for all branches --- .github/workflows/deploy.yml | 2 ++ .github/workflows/test-deploy.yml | 4 ++-- .github/workflows/vale.yml | 5 ++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ebc584892895..c16494a853b3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,8 @@ on: push: branches: - main + paths-ignore: + - '**/README.md' jobs: build: diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index 9363ef3ece94..807286e11b60 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -2,8 +2,8 @@ name: Test deployment on: pull_request: - branches: - - main + paths-ignore: + - '**/README.md' jobs: test-deploy: diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml index bdd2a453b3c3..b004ab9d0831 100644 --- a/.github/workflows/vale.yml +++ b/.github/workflows/vale.yml @@ -5,7 +5,10 @@ # It uses Vale (https://vale.sh/docs/vale-cli/installation/) to provide feedback base off the SUSE Style Guide / OpenSUSE style rules (https://github.com/openSUSE/suse-vale-styleguide) name: Style check -on: [pull_request] +on: + pull_request: + paths-ignore: + - '**/README.md' jobs: vale-lint: