Skip to content

Commit

Permalink
Harmonize CI triggers across workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
stanmart committed Jan 30, 2025
1 parent 5d06339 commit 5a57bca
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Build and upload to PyPI

on:
pull_request:
push:
branches:
- "main"
tags:
- "*"
release:
types:
- published
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: conda-build
on:
# We would like to trigger for CI for any pull request action -
# both from QuantCo's branches as well as forks.
pull_request:
branches:
- main
# In addition to pull requests, we want to run CI for pushes
# to the main branch and tags.
push:
branches:
- main
- "main"
tags:
- "*"

jobs:
conda-build:
Expand Down

0 comments on commit 5a57bca

Please sign in to comment.