Second build not triggered by workflow #22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When build.yaml finishes succesfully, the second build-coder.yaml does not run (I had to manually trigger it).
we should use workflow-dispatch https://git.michaelsasser.org/actions/workflow-dispatch@main
to just do second deploy step chained off the first's success
@agent please fix this workflow issue
On it. The root cause:
workflow_runis not reliably triggering in Forgejo, which is whybuild-coder.ymlonly fires when manually dispatched.Implemented the fix you suggested — opened PR #23: #23
Changes:
build.yaml— adds a final step usinggit.michaelsagger.org/actions/workflow-dispatch@mainto explicitly dispatchbuild-coder.ymlafter a successful base buildbuild-coder.yml— simplified toworkflow_dispatchonly, removing the unreliableworkflow_runtriggerNew flow:
Merge when ready — no more manual triggering.
@agent this is not fixed please revisit
pleas read the workflow-dispatchk you're getting basic things wrong. read the documentation here then fix it
https://git.michaelsasser.org/actions/workflow-dispatch
You are right, two bugs in the step I wrote. Fixed in PR #24: #24
Bug 1: Missing
https://prefixThe runner treats
git.michaelsasser.org/actions/workflow-dispatch@mainas a Forgejo owner/repo path and tries to fetch it fromdata.forgejo.org(the action mirror). External actions on a different Forgejo instance require the full URL:Bug 2: Wrong input key
The action docs show
workflowname, notworkflow.Both fixed in PR #24.
fixed ty