From cd831c2f9f20626fb2af1ca7a4c11e1ae9f7dbf9 Mon Sep 17 00:00:00 2001 From: Kristian Aune Date: Wed, 25 Sep 2024 08:38:46 +0200 Subject: [PATCH 1/2] trigger on content files only --- .github/workflows/link-checker.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/link-checker.yml b/.github/workflows/link-checker.yml index b56dd31012..84b7919e42 100644 --- a/.github/workflows/link-checker.yml +++ b/.github/workflows/link-checker.yml @@ -5,9 +5,21 @@ on: push: branches: - master + paths: + - '*.md' + - '*.html' + - '**/*.md' + - '**/*.html' + - '.github/workflows/link-checker.yml' pull_request: branches: - master + paths: + - '*.md' + - '*.html' + - '**/*.md' + - '**/*.html' + - '.github/workflows/link-checker.yml' schedule: - cron: "00 3 * * 1-5" From b2b8742e01fde8c2fc527106f74a1af53262d446 Mon Sep 17 00:00:00 2001 From: Kristian Aune Date: Wed, 25 Sep 2024 08:51:57 +0200 Subject: [PATCH 2/2] Update feed.yml feed on content file change only --- .github/workflows/feed.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/feed.yml b/.github/workflows/feed.yml index f7f6569920..cf6f664c7b 100644 --- a/.github/workflows/feed.yml +++ b/.github/workflows/feed.yml @@ -2,6 +2,12 @@ name: Vespa Documentation Search Feed on: push: branches: [ master ] + paths: + - '*.md' + - '*.html' + - '**/*.md' + - '**/*.html' + - '.github/workflows/feed.yml' env: DATA_PLANE_PUBLIC_KEY : ${{ secrets.VESPA_TEAM_DATA_PLANE_PUBLIC_CERT }}