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

Cross repository github action to trigger this test #1

Open
kellpossible opened this issue Feb 7, 2021 · 1 comment
Open

Cross repository github action to trigger this test #1

kellpossible opened this issue Feb 7, 2021 · 1 comment
Assignees

Comments

@kellpossible
Copy link
Contributor

kellpossible commented Feb 7, 2021

Looks like it should be possible to do the cross-repository github action using either repository_dispatch or workflow_disptach https://docs.github.com/en/actions/reference/events-that-trigger-workflows#manual-events
which can be triggered from the REST api. We can make a workflow in aleo-setup and aleo-setup-coordinator repositories that sends a POST request to the aleo-setup-integration-test REST api endpoint to trigger the event. I think someone is doing something similar described here https://fabianmoronzirfas.me/tech/2019/02/06/cross-repo-github-action-triggering.html
I think it may also be possible to include information about the branch/commit in the POST request to be used in the integration test.

Looks like this github action could perhaps be used in the aleo-setup and aleo-setup-coordinator repositories: https://github.com/marketplace/actions/repository-dispatch

@apruden2008
Copy link
Contributor

closed b/c until we get it working, not worth it to automate

@apruden2008 apruden2008 reopened this May 4, 2021
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

No branches or pull requests

2 participants