From 77456f28e11198ad9a39781f5a0a2087a106b9b5 Mon Sep 17 00:00:00 2001 From: Winford Date: Tue, 3 Oct 2023 12:06:48 -0700 Subject: [PATCH] Fix rules in Build Docs workflow The worklfow was missing `path` restictions on the `master` branch for pull requests, and was not triggering properly in forks due to misconfigured branch limitations. Signed-off-by: Winford --- .github/workflows/build-docs.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yaml index 2ef1022b2..e52d39851 100644 --- a/.github/workflows/build-docs.yaml +++ b/.github/workflows/build-docs.yaml @@ -14,11 +14,15 @@ on: pull_request: branches: - 'master' + paths: + - '.github/workflows/**' + - 'CMakeLists.txt' + - 'doc/**' + - 'libs/**' + - 'src/libAtomVM/**' push: - tags: - - '*' - branches: - - '!master' + repositories: + - '!atomvm/AtomVM' paths: - '.github/workflows/**' - 'CMakeLists.txt'