open-quantum-safe / liboqs-python

Python 3 bindings for liboqs
https://openquantumsafe.org/
MIT License
106 stars 36 forks source link

Trigger CI on a `repository_dispatch` event. #65

Closed SWilson4 closed 1 year ago

SWilson4 commented 1 year ago

This PR allows the CI for liboqs-python to be started via a repository_dispatch event, triggered by the GitHub API. In this way, the project's CI can be automatically triggered by the CI of an upstream repository such as liboqs. This will be done with the oqs-bot machine user via a GitHub personal access token, which will be stored in a CircleCI environment variable.

For a proof-of-concept of the CircleCI / GitHub Actions integration, see the following, in which the cicd-playground-upstream repo triggers a GitHub Action pipeline in cicd-playground-downstream via a CircleCI pipeline and a personal access token.

When code to make the GitHub API call is added in the liboqs CI, this will address https://github.com/open-quantum-safe/liboqs/issues/1499.

vsoftco commented 12 months ago

that's nice, thanks!