Unexpected TemplateToken type `3`

I’ve switched default branch in my GitHub repo and changed workflow to trigger for changes for new branch, but actions for new default branch will fail with message The workflow is not valid. Unexpected TemplateToken type '3' on the first line of workflow file.

Changing workflow back to be trigger on old branch works fine.
UPD: here’s the link to my actions history: https://github.com/JetBrains/UnrealLink/actions

SOLVED: I’ve used ${{ github.run_number }} in matrix field. The error is extremely missleading.

1 Like

Glad that you found your own solution to this. I’m highlighting this in case anyone else stumbles across your question and has the same issue. Thank you for sharing it with us.


Hi – sorry you’ve experienced this.

Just wanted to let you know we do have a fix in place for this. Although we do not have an ETA on when it might be deployed, we hope it will be in the next couple of weeks. Thank you for your patience!