I have two GitHub Actions workflows: infra
and build
. A successful infra
run will trigger a build
run by way of the following configuration:
name: infra
on:
push:
branches: [ main ]
name: build
on:
workflow_run:
workflows: [ infra ]
types: [ completed ]
branches: [ main ]
Each infra
workflow run is named after the commit message that triggered it. However, each build
run is just named "build".
Is it possible to propagate the name of one workflow run to downstream runs that are triggered in this way? If so, how?