Skip to content

Commit

Permalink
Adapt CI trigger to run on PR from fork. (#74)
Browse files Browse the repository at this point in the history
* Adapt CI trigger to run on PR from fork.

* Trigger on any tag, not only those prefixed with v.

* Fix syntax.

* Use default pull request types.
  • Loading branch information
kklein authored Aug 5, 2024
1 parent b0be07c commit 44a1526
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
name: CI
on: [push]
on:
# We would like to trigger for CI for any pull request action -
# both from QuantCo's branches as well as forks.
pull_request:
# In addition to pull requests, we want to run CI for pushes
# to the main branch and tags.
push:
branches:
- "main"
tags:
- "*"

# Automatically stop old builds on the same branch/PR
concurrency:
Expand Down

0 comments on commit 44a1526

Please sign in to comment.