Skip to content

Commit

Permalink
Run workflow for master branch as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mrobinson committed Jul 7, 2023
1 parent 9ce2b9b commit 616a038
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Main

on:
push:
branches: ["auto", "try"]
branches: ["master", "combine-workflows-for-merge-queue", "try"]
pull_request:
types: ['opened', 'synchronize']
branches: ["**"]
Expand Down Expand Up @@ -39,17 +39,19 @@ jobs:
build-win:
name: Windows
if: ${{ github.event_name == 'push' || github.event_name == 'merge_group' }}
needs: ["decision"]
uses: ./.github/workflows/windows.yml
with:
unit-tests: ${{ github.event_name == 'push' || github.event_name == 'merge_group' }}
unit-tests: true

build-mac:
name: Mac
if: ${{ github.event_name == 'push' || github.event_name == 'merge_group' }}
needs: ["decision"]
uses: ./.github/workflows/mac.yml
with:
unit-tests: ${{ github.event_name == 'push' || github.event_name == 'merge_group' }}
unit-tests: true

build-linux:
name: Linux
Expand Down

0 comments on commit 616a038

Please sign in to comment.