Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions repos/devlake.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Snapshotted from the live ruleset (2026-10-23). Kept disabled as found;
# devlake is excluded from the org baseline (fork synced by direct push),
# so it currently has no active protection -- re-enable this ruleset to
# add deletion/non-fast-forward/required_signatures back.
# Snapshotted from the live ruleset (2026-10-23). The org baseline
# (settings.yml default-branch) now protects main: no deletion, no force
# push, changes through PRs. This stricter repo ruleset (1 approval,
# required signatures) stays disabled until the devlake owners opt in.
rulesets:
- name: protect main
target: branch
Expand Down
1 change: 0 additions & 1 deletion settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ rulesets:
repository_name:
include: []
exclude:
- devlake # fork synced by direct push; see repos/devlake.yml

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remediation recommended

1. Devlake changes can skip owner review 🐞 Bug ⛨ Security

Removing devlake from the baseline exclusion enables require_code_owner_review, but GitHub does
not assign a code owner when the matching team lacks repository access. For paths whose only
matching owner is the inaccessible @konflux-ci/konflux-devprod-team named in the PR description, a
pull request has no owner approval to require, while the baseline requires zero other approvals.
Agent Prompt
## Issue description
The newly enabled code-owner review rule cannot require approval for files whose only matching CODEOWNERS team lacks access to devlake.

## Fix Focus Areas
- settings.yml[31-34]
- repos/devlake.yml[1-4]

## Recommended Fix
Update devlake's CODEOWNERS to name a visible team with write access and verify GitHub reports no CODEOWNERS errors before removing its baseline exclusion. If that update cannot happen first, retain the exclusion until it does.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Dismiss ↗ | View ↗

- konflux-devlake-mcp # fork synced by direct push; see repos/konflux-devlake-mcp.yml
- agent-eval-harness # semantic-release pushes to main with GITHUB_TOKEN; see repos/agent-eval-harness.yml
- metrics # collect.yml and fix-judge.yml push data to main with GITHUB_TOKEN; see repos/metrics.yml
Expand Down
Loading