Dashboard › publish › Distillation
9a083a3d-1e2a-489b-a944-496a43615845["lore_tm_v1_ti8JUItLKA72L_R5d8uGv9z1VdEBa5y_SXCSE2bdp38"]
workflow_run activity type requested does not occur when a workflow is re-run; by default all supported activity types trigger the workflow, and types can restrict them.workflow_run triggers only if its workflow file exists on the default branch.workflow_run cannot chain more than three workflow levels; in the sequence A β B β C β D β E β F, workflows E and F will not run.workflow_run can access secrets and write tokens even when the preceding workflow was unprivileged, enabling a privileged action after an intentionally unprivileged workflow.workflow_run can enable cache poisoning and unintended access to write privileges or secrets.workflow_run example runs after the separate workflow Run Tests completes using workflows: [Run Tests] and types: [completed].workflow_run.workflows, they use OR semantics: workflows: [Staging, Lab] with types: [completed] triggers when either Staging or Lab completes.workflow_run workflow is triggered regardless of the preceding workflowβs conclusion; jobs or steps can branch on github.event.workflow_run.conclusion, such as == 'success' for an on-success job and == 'failure' for an on-failure job.workflow_run event payload can be used to access artifacts generated by the triggering workflow.pull_request, sets PR_NUMBER: ${{ github.event.number }}, runs mkdir -p ./pr and echo $PR_NUMBER > ./pr/pr_number, then uses actions/upload-artifact@v4 with name: pr_number and path: pr/.