You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI: "Test OLM upgrade" job fails on PRs at registry.redhat.io login (missing REGISTRY_USER/REGISTRY_PASSWORD) #196
The Test OLM upgrade job (.github/workflows/test-e2e.yml, job test-e2e-olm-upgrade) fails on pull requests at the Log in to registry.redhat.io step. It fails fast (~20s) before running any actual OLM test, so every affected PR shows a red check regardless of what it changes — including docs-only PRs.
Error
##[error]Error: Input required and not supplied: username
The step uses:
- name: Log in to registry.redhat.iouses: redhat-actions/podman-login@v1with:
username: ${{ secrets.REGISTRY_USER }}password: ${{ secrets.REGISTRY_PASSWORD }}registry: registry.redhat.io
secrets.REGISTRY_USER / secrets.REGISTRY_PASSWORD resolve to empty in the PR run, so podman-login errors on the missing username. The same applies to the following brew.registry.redhat.io login step.
The job is gated by if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository, so it runs for pushes and non-fork PRs but is skipped for fork PRs (e.g. feat: add filesystem watcher for event-driven model re-validation #172 shows no OLM check).
Impact
Non-fork PRs get a persistent red "Test OLM upgrade" check unrelated to their changes.
Dependabot PRs can never pass this check (Dependabot secret context).
If this check is required for merge, it blocks otherwise-green PRs.
Possible directions (for discussion)
Guard the registry-login + OLM steps to skip cleanly when the secrets are absent (e.g. if: ${{ secrets.REGISTRY_USER != '' }}), rather than failing.
Add REGISTRY_USER / REGISTRY_PASSWORD to the repo's Actions secrets (and the Dependabot secret store) if the job is meant to run on PRs.
Or move the OLM-upgrade test to a push-only / scheduled workflow and drop it from the required PR checks.
Environment
Workflow: .github/workflows/test-e2e.yml, job Test OLM upgrade
Activity