Skip to content
Discussion options

You must be logged in to vote

The issue likely comes from how workflow_run triggers behave in GitHub Actions.

A few key points to check:
Workflow visibility and permissions
Make sure both workflows are defined in the same repository under .github/workflows/.
The workflow you want to trigger (Build and Push Docker Images) must already exist on the default branch (main in your case).
If you just added it on a feature branch, it won’t trigger until it’s merged into main.
YAML indentation / structure
Your on: section in the second workflow looks correct, but double-check that it’s properly aligned like this:

on:
workflow_run:
workflows: ["Run Inference Tests"]
types:
- completed
branches:
- main

Events from forked reposit…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@danilyef
Comment options

Answer selected by danilyef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question Ask and answer questions about GitHub features and usage Actions Runner For issues and discussions related to the Actions Runner project Misc General discussions about GitHub Actions that don't fit other found themes.
2 participants