Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger CI on a repository_dispatch event. #65

Merged
merged 1 commit into from
Jul 11, 2023
Merged

Conversation

SWilson4
Copy link
Member

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 open-quantum-safe/liboqs#1499.

@SWilson4 SWilson4 merged commit a805071 into main Jul 11, 2023
6 checks passed
@SWilson4 SWilson4 deleted the sw-ghaction-dispatch branch July 11, 2023 13:14
@vsoftco
Copy link
Member

vsoftco commented Jul 20, 2023

that's nice, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants