Problem
The workflow_run trigger in .github/workflows/release.yml has two issues that prevent the release workflow from ever executing:
-
Incompatible branches filter: The docker-release.yml workflow triggers on push events for tags: ['v*'], not on branch pushes. The branches: [main] filter in release.yml will never match because tag push events don't carry a branch context.
-
Wrong workflow reference: The workflows key references the filename ("docker-release.yml") instead of the workflow's declared name ("Build and Push Docker Image"). GitHub matches workflow_run triggers by workflow name, not filename.
Proposed Fix
on:
workflow_run:
- workflows: ["docker-release.yml"]
+ workflows: ["Build and Push Docker Image"]
types: [completed]
- branches: [main]
References
/cc @Delgado74
Problem
The
workflow_runtrigger in.github/workflows/release.ymlhas two issues that prevent the release workflow from ever executing:Incompatible
branchesfilter: Thedocker-release.ymlworkflow triggers onpushevents fortags: ['v*'], not on branch pushes. Thebranches: [main]filter inrelease.ymlwill never match because tag push events don't carry a branch context.Wrong workflow reference: The
workflowskey references the filename ("docker-release.yml") instead of the workflow's declaredname("Build and Push Docker Image"). GitHub matchesworkflow_runtriggers by workflow name, not filename.Proposed Fix
References
/cc @Delgado74