toan added a comment.
It's interesting how github seems to have chosen not to make this super easy to hook up. 1. The mechanism for triggering a workflow remotely through the api gives at the most a `204` response status code when the workflow is triggered <https://docs.github.com/en/rest/reference/actions#create-a-workflow-dispatch-event>. 2. We are able to provide input to the workflow but none of this information is directly available through the list endpoint or the details endpoint. list the workflow runs for a repo and get an id ----------------------------------------------- curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/wmde/wikibase-release-pipeline/actions/runs > out.json But also the details does not contain any of the input data ----------------------------------------------------------- curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/wmde/wikibase-release-pipeline/actions/runs/921094979 It kind of looks like we would have to have the github workflow itself callback somewhere to make this connection, which kind of makes this feel as we might be doing something they don't want us to do. Sounds fun to try that out though. TASK DETAIL https://phabricator.wikimedia.org/T282479 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: toan Cc: Jakob_WMDE, hoo, Tarrow, toan, WMDE-leszek, Aklapper, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Addshore, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org