Commit d6a9a33
committed
Run build only on
When a PR is created from a branch in the same repository, workflows run twice: once on `push` and once on `pull_request`.
This change fixes it, by only running workflows:
- On a direct push to `master`,
- On a Pull Request, regardless of the origin.master and PRs1 parent 8c9ac6d commit d6a9a33
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| |||
0 commit comments