Skip to content

Commit ddff308

Browse files
authored
Merge pull request #9 from miriamkw/insulin-percent-effect
Insulin percent effect
2 parents d581c42 + a826e22 commit ddff308

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CI Workflow
22

3-
# Trigger the workflow when directly pushing to main or when a PR is merged into main
3+
# Trigger the workflow when pushing to main (includes PR merges) or on PR events
44
on:
55
push:
66
branches:
@@ -9,7 +9,9 @@ on:
99
branches:
1010
- main
1111
types:
12-
- closed
12+
- opened
13+
- synchronize
14+
- reopened
1315

1416
# Define the jobs to run in the workflow
1517
jobs:
@@ -45,6 +47,7 @@ jobs:
4547
pytest
4648
4749
- name: Commit and push the generated .dylib file
50+
if: github.ref == 'refs/heads/main'
4851
run: |
4952
git config --local user.name "GitHub Action"
5053
git config --local user.email "action@github.com"

0 commit comments

Comments
 (0)