Skip to content

Commit

Permalink
(#114) build only on selected branches
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-a committed Jul 20, 2024
1 parent 0928045 commit f73421e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,21 @@ name: Build

on:
push:
branches:
- master
- develop
- "feature/**"
- "release/**"
- "hotfix/**"
tags:
- "*"
paths-ignore:
- "README.md"
pull_request:

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]
Expand Down

0 comments on commit f73421e

Please sign in to comment.