con un clic
create-pr
// Create pull requests for konflux-ci repository. Explains CI behavior differences between fork and same-repo PRs, and the /allow command. Use when creating a PR, CI not running, or asking about fork PRs.
// Create pull requests for konflux-ci repository. Explains CI behavior differences between fork and same-repo PRs, and the /allow command. Use when creating a PR, CI not running, or asking about fork PRs.
Update upstream Konflux component versions. Use when bumping component versions, updating refs, or syncing to latest upstream.
Deploy Konflux on a local Kind cluster. Supports development mode (operator outside cluster for fast iteration) and preview mode (operator deployed in-cluster from release/build). Use when the user wants to start, restart, or recreate a local Konflux environment, run the operator locally, install integrations like sigstore or quay, or troubleshoot local deployment.
| name | create-pr |
| description | Create pull requests for konflux-ci repository. Explains CI behavior differences between fork and same-repo PRs, and the /allow command. Use when creating a PR, CI not running, or asking about fork PRs. |
| PR Source | E2E Tests | Trigger |
|---|---|---|
| Same-repo branch | Automatic | Push |
| Fork | Manual | Org member comments /allow |
Fork PRs cannot access secrets. The /allow command:
repository_dispatchSee .github/workflows/operator-test-e2e.yaml (check-prerequisites job) and .github/workflows/pr-comment-commands.yaml.
Always check if the user has upstream write access before choosing a workflow.
# Check if user can push to upstream
gh repo view konflux-ci/konflux-ci --json viewerPermission --jq '.viewerPermission'
# WRITE or ADMIN = has access, READ = no access
If user has write access → push to upstream (CI runs automatically)
If user does NOT have write access → push to fork (needs /allow)
With upstream write access (preferred):
git checkout -b feature-branch
git push -u upstream feature-branch
gh pr create --repo konflux-ci/konflux-ci
Without write access (fork):
konflux-ci/konflux-ci/allowFrom CONTRIBUTING.md:
KubeLinter (if editing kustomizations):
mkdir -p .kube-linter
find . -name "kustomization.yaml" -o -name "kustomization.yml" | while read -r file; do
dir=$(dirname "$file"); dir=${dir#./}
kustomize build "$dir" > ".kube-linter/out-$(echo "$dir" | tr "/" "-").yaml"
done
kube-linter lint .kube-linter
Table of contents (if markdown structure changed):
See CONTRIBUTING.md for the exact command.
CI not running on fork PR: Normal - wait for /allow from maintainer.
E2E failed after /allow: Code changed after /allow. Maintainer must re-review and /allow again.