sysown / proxysql

High-performance MySQL proxy with a GPL license.
http://www.proxysql.com
GNU General Public License v3.0
6.05k stars 983 forks source link

V3.0 update actions triggers v2 #4685

Closed mirostauder closed 1 month ago

mirostauder commented 1 month ago

CI-builds and CI-package-build actions are triggered by push event.

All the other actions depend on cached data built by CI-builds and are triggered by workflow_run event on conclusion of CI-builds https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#workflow_run workflow_run event does not provide the correct context and requires explicitly passing the upstream contexts to workflow_run. https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=in_progress#workflow_run

Using the passed context, set:

https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#github-context https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/evaluate-expressions-in-workflows-and-actions https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#run-name https://stackoverflow.com/questions/63343937/how-to-use-the-github-actions-workflow-run-event https://stackoverflow.com/questions/58457140/dependencies-between-workflows-on-github-actions https://stackoverflow.com/questions/76184351/workflow-tiggered-by-another-workflow-runs-on-wrong-branch https://github.com/orgs/community/discussions/50356

GH-Actions branch workflows are using actions to set the run status and run checks https://github.com/marketplace/actions/github-checks https://github.com/marketplace/actions/github-check-runs-action