'Enable workflows on forked Repo vai API
I have a order of events in a script which forks a Github repository. Does a couple of things via the GitHub API with the forked repo. One of them I want it to do is activate Pages, which I am able to do via the GitHub API.
Another is enable workflows, to enable a specific workflow which exists in the original repo (enabled workflow and action).
However I’m unable to determine which API endpoint will enable the workflow for me. I attach a screen shot of the prompt I get in the repo’s action tab on the repo’s overview page on GitHub.
This prompts requests I click a button to enable workflows which reads: “I understand my workflows, go ahead and enable them”.
Please provide me with advice as to how I can replicate the setting switch which takes place, when I click the above mentioned button, but via the GitHub API.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
