Skip to content

Workflow Reuse error: missing a on.workflow_call trigger #38954

Answered by jlbooker
jlbooker asked this question in Actions
Discussion options

You must be logged in to vote

I believe I have discovered the cause of this problem. I had managed to create (I believe through a different Action) a tag named main, in addition to the branch named main. Instead of using the version from the main branch, I believe the Workflow was continuing to use version of node.js.yml from the main tag, which was missing the on.workflow_call trigger as correctly indicated by the error message.

In short, the error message was accurate, but it wasn't clear that the Workflow being used was from the main tag and not the main branch.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
7 replies
@jlbooker
Comment options

@airtower-luna
Comment options

@jlbooker
Comment options

@ChristopherHX
Comment options

@jlbooker
Comment options

Comment options

You must be logged in to vote
3 replies
@Kystabell3410
Comment options

@Kystabell3410
Comment options

@getellez
Comment options

Answer selected by jlbooker
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 Issues Repository issues let you track features, problems, and more alongside your code
5 participants