From 2372e3ac8513ddc135f4b6b725a06b5bddd834d2 Mon Sep 17 00:00:00 2001 From: Animesh Kumar Nayak <48359588+animeshn99@users.noreply.github.com> Date: Sat, 18 Feb 2023 03:02:43 +0530 Subject: [PATCH] Update build.yml avoid build on changes to any txt or readme files for both merge and PR requests issue #50 (#63) --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6593e0c..735a1b0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,13 +3,17 @@ on: pull_request: branches: - main + paths-ignore: + - '**.md' + - '**.txt' schedule: - cron: '20 20 * * *' # 8:20pm everyday push: branches: - main paths-ignore: - - '**/README.md' + - '**.md' + - '**.txt' env: IMAGE_NAME: base IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}