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

Add a GHA workflow to trigger a new check in knitr repo ? #78

Open
cderv opened this issue Jan 29, 2021 · 1 comment
Open

Add a GHA workflow to trigger a new check in knitr repo ? #78

cderv opened this issue Jan 29, 2021 · 1 comment

Comments

@cderv
Copy link
Collaborator

cderv commented Jan 29, 2021

I think it would be interesting to add a workflow in knitr-example that would trigger a new run of "Check-knitr-example" workflow in knitr repo when we have a new commit to master in this repo.

That way when we push a fix because something changed in knitr we could have the workflow re-run automatically.

Should be possible using

@cderv
Copy link
Collaborator Author

cderv commented Jan 7, 2022

Instead of adding a new issue I am posting here the idea.

We could also leverage a workflow_dispatch input so that we can run any branch in knitr repo against any branch in this repo using a API call like this

gh workflow run knitr-examples.yaml -f branch=<knitr-example-branch> --ref <knitr-branch> 

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

1 participant