Skip to content

Commit

Permalink
Disable branch build except for main (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
FriggaHel authored May 21, 2024
1 parent 9ffe814 commit 0c74c59
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ name: .NET (build)

on:
push:
branches:
- main
paths:
- 'visual-dotnet/**'
- .github/workflows/dotnet-build.yml
pull_request:
paths:
- 'visual-dotnet/**'
- .github/workflows/dotnet-build.yml

defaults:
run:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/java-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Java (build)

on:
push:
branches:
- main
paths:
- 'visual-java/**'
- .github/workflows/java-build.yml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/js-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: JS (build)

on:
push:
branches:
- main
paths:
- 'visual-js/**'
- .github/workflows/js-build.yml
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ name: Python (build)

on:
push:
branches:
- main
paths:
- 'visual-python/**'
- .github/workflows/python-build.yml
pull_request:
paths:
- 'visual-python/**'
- .github/workflows/python-build.yml

defaults:
run:
Expand Down

0 comments on commit 0c74c59

Please sign in to comment.