From f73421e1c93b5068237e188c8271ec06a350ba13 Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Sat, 20 Jul 2024 23:33:21 +0200 Subject: [PATCH] (#114) build only on selected branches --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 344465d..4dcbf9b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,6 +2,14 @@ name: Build on: push: + branches: + - master + - develop + - "feature/**" + - "release/**" + - "hotfix/**" + tags: + - "*" paths-ignore: - "README.md" pull_request: @@ -9,7 +17,6 @@ on: jobs: build: runs-on: ${{ matrix.os }} - if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository strategy: matrix: os: [windows-2022, ubuntu-22.04, macos-12]