From 60b7653bef875fd21d927951f9dc1a44bb73fbd3 Mon Sep 17 00:00:00 2001 From: kklein Date: Sun, 4 Aug 2024 19:42:09 +0200 Subject: [PATCH] Adapt CI trigger to run on PR from fork. --- .github/workflows/ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9d98ef0..da118ecd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,16 @@ 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: + types: [opened, labeled, unlabeled, synchronize] + # In addition to pull requests, we want to run CI for pushes + # to the main branch and tags. + push: + branches: + - "main" + tags: + - "v*" # Automatically stop old builds on the same branch/PR concurrency: