Skip to content
Agentmart
Submit a tool

create-pr

Create pull requests for konflux-ci repository.

Skill by konflux-ci

IndexedApache-2.0★ 215
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/konflux-ci-create-pr

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: devops

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/create-pr

What's inside

Skill 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.
License
Apache-2.0
Instructions
82 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Create Pull Request

## CI Behavior

| PR Source | E2E Tests | Trigger |
|-----------|-----------|---------|
| Same-repo branch | Automatic | Push |
| Fork | Manual | Org member comments `/allow <commit-sha>` |

Fork PRs cannot access secrets. The `/allow <commit-sha>` command:
1. Verifies the provided SHA is a valid commit hash (not a branch/tag)
2. Verifies the SHA matches the current PR HEAD (prevents approving stale code)
3. Verifies code hasn't changed since comment (TOCTOU check)
4. Triggers E2E via `repository_dispatch`

See `.github/workflows/operator-test-e2e.yaml` (check-prerequisites job) and `.github/workflows/pr-comment-commands.yaml`.

PRs trigger:

- `operator-test` — `go mod tidy -diff` + `make test`, uploads coverage
- `operator-lint` — golangci-lint (version is the **single semver line** in `operator/.golangci-lint-version`; do not add comments or extra lines)
- `operator-verify-generated-files` — CRDs/RBAC/deepcopy must be up to date (`make manifests generate` after API or RBAC marker changes)
- `operator-test-e2e` — full operator e2e (fork PRs need `/allow <commit-sha>`)
- `operator-olm-kind-smoke` — Kind + OLM `operator-sdk run bundle` (ARM64; non-default namespace to match preflight)
- `kube-linter` — rendered kustomize manifests
- `check-toc` — markdown TOC (excludes `operator/docs/`, `.cursor/*`, `skills/*`)
- `differential-shellcheck` — changed shell scripts
- `caddy-fmt` — only when `Caddyfile` changes

## Before Creating a PR: Check Write Access

**Always check if the user has upstream write access before choosing a workflow.**

```bash
# 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 <commit-sha>`)

## Workflow

**With upstream write access (preferred):**
```bash
git checkout -b feature-branch
git push -u upstream feature-branch
gh pr create --repo konflux-ci/konflux-ci
```

**Without write access (fork):**
1. Fork and clone
2. Push to fork, open PR against `konflux-ci/konflux-ci`
3. Wait for maintainer `/allow <commit-sha>`

## Pre-PR Checklist

From `CONTRIBUTING.md`:

1. **KubeLinter** (if editing kustomizations):
   ```bash
   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
   ```

2. **Table of contents** (if markdown structure changed):
   See `CONTRIBUTING.md` for the exact command.

3. **`make manifests generate`** (from `operator/`, if API types or RBAC markers changed).

## Troubleshooting

**CI not running on fork PR:** Normal - wait for `/allow <commit-sha>` from maintainer.

**E2E failed after /allow:** Code changed after `/allow`. Maintainer must re-review and `/allow <commit-sha>` again.

From konflux-ci/konflux-ci, Apache-2.0.

More from konflux-ci/konflux-ci

Signals

Stars
215
Forks
169
Open issues
96
Last commit (this folder)
Sep 22, 2026 (1 month ago)
Last release
Sep 7, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from konflux-ci

Cite this page

create-pr skill. Agent Mart. https://agentmart.dev/skills/konflux-ci-create-pr (last updated 2026-10-24)