Strange Behavior When Triggering Reusable Workflows via API — 404 “suffixed values” Error #188118
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
We’re experiencing a strange regression with GitHub Actions related to reusable workflows and dispatching workflows via the API or gh CLI.
Setup
In the same repository, we have:
Workflow A
A reusable workflow triggered using workflow_call:
Workflow B
A workflow triggered using workflow_dispatch that reuses Workflow A:
The above setup is logically correct, and everything works as expected when triggered from the GitHub UI. This is our happy-path scenario for us.
Issue
In above setup, When we trigger
Workflow Busing the GitHub API or thegh CLI, the workflow starts successfully and its run appears in the GitHub UI. However, when we try to retrieve that API‑triggered run using the GitHub API orgh CLI, we receive the following responseThe difficult part is that the same setup was working perfectly until about a week ago or so.
Observations
When we replace the relative reference to Workflow A with an absolute reference in Workflow B, the issue disappears.
For ex:
Making above change start everything work as expected.
We recently observed this behaviour, and we have similar pattern across repos and orgs. We have use github api and cli in upstream & downstream pattern. Want to understand what is changed and why issue arises, as this all started breaking in a while.
To put some more context this behaviour is observed in enterprise version(*.ghe.com) of github. Thanks in advance....
Beta Was this translation helpful? Give feedback.
All reactions