From 183b17e1749d0218f8443296d00a4c39b3e67e6e Mon Sep 17 00:00:00 2001 From: Wil Thieme Date: Tue, 27 Feb 2024 16:53:28 -0500 Subject: [PATCH] path limits on CI actions to reduce wasted computing --- .github/workflows/feeds.yml | 12 ++++++++++++ .github/workflows/jekyll.yml | 8 ++++++++ 2 files changed, 20 insertions(+) diff --git a/.github/workflows/feeds.yml b/.github/workflows/feeds.yml index fce0683..630b08d 100644 --- a/.github/workflows/feeds.yml +++ b/.github/workflows/feeds.yml @@ -2,9 +2,21 @@ name: Jekyll Feed Tests 'on': push: + paths: + - ".github/workflows/feeds.yml" + - planet.ini + - tests/feedcheck.rb + - Gemfile + - Gemfile.lock branches: - master pull_request: + paths: + - ".github/workflows/feeds.yml" + - planet.ini + - tests/feedcheck.rb + - Gemfile + - Gemfile.lock branches: - master workflow_dispatch: null diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 8c8fde6..254f8a5 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -2,9 +2,17 @@ name: Jekyll CI 'on': push: + paths-ignore: + - '*.md' + - ".github/workflows/feeds.yml" + - "tests/feedcheck.rb" branches: - master pull_request: + paths-ignore: + - '*.md' + - ".github/workflows/feeds.yml" + - "tests/feedcheck.rb" branches: - master workflow_dispatch: