-
Notifications
You must be signed in to change notification settings - Fork 24
add conflict action, remove check temp due not using main branch #1859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,8 +15,8 @@ pull_request_rules: | |
| - author=dependabot[bot] | ||
| - label=security | ||
| - label=python | ||
| - check-success=pre-commit | ||
| - check-success=selftest # pip_compile check | ||
| # - check-success=pre-commit | ||
| # - check-success=selftest # pip_compile check | ||
| - "#changes-requested-reviews-by=0" | ||
| - "#review-requested=0" | ||
| actions: | ||
|
|
@@ -73,11 +73,23 @@ pull_request_rules: | |
| conditions: | ||
| - author=dependabot[bot] | ||
| - -label=security | ||
| - check-success=pre-commit | ||
| - check-success=selftest | ||
| # - check-success=pre-commit | ||
| # - check-success=selftest | ||
| - "#changes-requested-reviews-by=0" | ||
| - "#review-requested=0" | ||
| actions: | ||
| review: | ||
| type: APPROVE | ||
| message: "Dependabot PR auto-approved. Manual merge required for non-security updates." | ||
|
|
||
| # Detect when PR conflicts and add label | ||
| - name: warn on conflicts | ||
| conditions: | ||
| - conflict | ||
| actions: | ||
| comment: | ||
| message: "This pull request is now in conflicts. Could you fix it @{{author}}? | ||
| 🙏" | ||
| label: | ||
| add: | ||
| - conflict | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing rule to remove conflict label after resolutionMedium Severity The new "warn on conflicts" rule adds a |
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI checks disabled for Dependabot auto-approval rules
Medium Severity
The
check-success=pre-commitandcheck-success=selftestconditions are commented out in both the Python security updates and non-security Dependabot auto-approval rules. The PR title describes this as "temp," but it's being committed to the repo. This means Dependabot PRs for Python will be auto-approved without any CI checks passing, weakening the safety gate other ecosystems (Admin Portal, Chatbot, GitHub Actions) still enforce.Additional Locations (1)
.github/mergify.yml#L75-L77