We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d581c42 + a826e22 commit ddff308Copy full SHA for ddff308
.github/workflows/ci.yml
@@ -1,6 +1,6 @@
1
name: CI Workflow
2
3
-# Trigger the workflow when directly pushing to main or when a PR is merged into main
+# Trigger the workflow when pushing to main (includes PR merges) or on PR events
4
on:
5
push:
6
branches:
@@ -9,7 +9,9 @@ on:
9
10
- main
11
types:
12
- - closed
+ - opened
13
+ - synchronize
14
+ - reopened
15
16
# Define the jobs to run in the workflow
17
jobs:
@@ -45,6 +47,7 @@ jobs:
45
47
pytest
46
48
49
- name: Commit and push the generated .dylib file
50
+ if: github.ref == 'refs/heads/main'
51
run: |
52
git config --local user.name "GitHub Action"
53
git config --local user.email "action@github.com"
0 commit comments