From caaf432297f9baf5b07aa35e28cb9a2064f8be56 Mon Sep 17 00:00:00 2001 From: Sergio Arroutbi Date: Thu, 11 Jan 2024 17:21:58 +0100 Subject: [PATCH] Avoid execution of build actions for doc files (#129) Resolves: #122 Signed-off-by: Sergio Arroutbi --- .github/workflows/build.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8998fb0..550745a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,13 @@ --- name: build -on: [push, pull_request] +on: + push: + paths-ignore: + - '**.md' + pull_request: + paths-ignore: + - '**.md' jobs: build: @@ -31,7 +37,8 @@ jobs: - uses: actions/checkout@v3 - name: Show OS information - run: cat /etc/os-release 2>/dev/null || echo /etc/os-release not available + run: cat /etc/os-release 2>/dev/null || \ + echo /etc/os-release not available - name: Install build dependencies run: bash .github/workflows/install-dependencies