CivicDataLab / CivicDataLab/CivicDataSpace-test
keycloak-tests.yml is not on the default branch, so workflow_dispatch is unavailable
@saqibmanan is already working on this.
Since Sep 8, 2026.
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 1h 45m
- Merged PRs (30d)
- 56
Description
keycloak-tests.yml cannot be run manually. Attempting it fails:
$ gh workflow run keycloak-tests.yml --repo CivicDataLab/CivicDataSpace-test --ref CI
HTTP 404: workflow keycloak-tests.yml not found on the default branch
Mechanism
GitHub only surfaces workflow_dispatch for workflows present on the default branch. This repo's default is main, which carries only run-smoke.yml:
| Branch | Workflows |
|---|---|
main (default) |
run-smoke.yml |
CI |
run-smoke.yml, keycloak-tests.yml |
The workflow declares workflow_dispatch:, so it looks dispatchable in the file — it just isn't, and the failure only appears when someone tries.
What still works
Nothing is broken. workflow_call resolves by ref, so keycloak-tests.yml@CI works when DataSpaceKeycloakTheme calls it — proven on its first real run (12 passed, 1 skipped, since fixed in #29).
The only loss is manual invocation, which matters for:
- verifying a change to the workflow without waiting for a theme deploy
- re-running the Keycloak checks after a Keycloak-side change that did not come from a theme deploy
Right now the only way to exercise it is to redeploy the staging Keycloak, which every product's dev environment depends on — too heavy an action to take just to test a workflow.
Suggested
Land keycloak-tests.yml on main. run-smoke.yml is already there, so this follows existing practice rather than introducing a new one.
Worth deciding at the same time whether main or CI is meant to be the executing branch here. The current split — triggers and callers pinned to CI while main is the default — is what produced this, and also produced the pinned-checkout problems fixed in #27.
Same defect elsewhere
ParakhAI-Backend#109 records the identical pattern: deploy-parakh-api-dev.yml exists only on dev, so its workflow_dispatch — including a force_smoke_failure test path — has never been usable.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.