Skip to content

Commit 5bef3bb

Browse files
authored
Merge pull request #6 from ChezJe/dev
Dev
2 parents 5f548fe + 37a62f4 commit 5bef3bb

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
# This is a basic workflow to help you get started with MATLAB Actions
21
name: MATLAB Build
32

43
# Controls when the action will run.
54
on:
6-
# Triggers the workflow on push events, but only for the main branch
75
push:
8-
branches: [ main ]
6+
branches-ignore: [ main ]
97

108
pull_request:
11-
branches:
9+
branches: [ main ]
1210

1311
# Allows you to run this workflow manually from the Actions tab
1412
workflow_dispatch:
@@ -34,7 +32,7 @@ jobs:
3432
test:
3533

3634
name: Test dev branch
37-
if: ${{ github.event_name == 'pull_request' }}
35+
if: ${{ github.event_name == 'pull_request' || github.ref != 'refs/heads/main' }}
3836

3937
runs-on: ubuntu-latest
4038

0 commit comments

Comments
 (0)