Skip to content
Open
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
4 changes: 3 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"release-type": "python",
"packages": {
".": {
"package-name": "",
"include-component-in-tag": false,
"changelog-path": "CHANGELOG.md",
"changelog-type": "default",
Expand All @@ -17,7 +18,8 @@
{ "type": "docs", "section": "Documentation", "hidden": false },
{ "type": "test", "section": "Tests", "hidden": true },
{ "type": "ci", "section": "CI", "hidden": true },
{ "type": "chore", "section": "Miscellaneous", "hidden": true }
{ "type": "chore", "section": "Miscellaneous", "hidden": true },
{ "type": "release", "section": "Miscellaneous", "hidden": true }
Comment on lines +21 to +22
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== Recent commit subjects using release: type =="
git log --pretty=format:%s -n 500 | rg -n '^release(\([^)]+\))?:\s' || true

echo
echo "== Commitlint/conventional-commit config references (if present) =="
rg -n --iglob '*commitlint*' --iglob '*.js' --iglob '*.cjs' --iglob '*.json' 'type-enum|release'

Repository: openfga/python-sdk

Length of output: 472


Remove the unused release type mapping on line 22.

The repository's last 500 commits contain no release: conventional commit types, and no commitlint configuration defines this type. This changelog mapping is dead config and can be removed for clarity.

Verification
== Recent commit subjects using release: type ==
(no matches found in last 500 commits)

== Commitlint/conventional-commit config references ==
release-please-config.json:22:        { "type": "release",  "section": "Miscellaneous", "hidden": true  }
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@release-please-config.json` around lines 21 - 22, Remove the dead mapping for
the "release" conventional commit type from the release-please configuration by
deleting the JSON entry with "type": "release" (the object { "type": "release",
"section": "Miscellaneous", "hidden": true }). Ensure only the unused mapping is
removed and the surrounding JSON array remains valid (comma placement adjusted
if needed).

],
"extra-files": [
{ "type": "toml", "path": "pyproject.toml", "jsonpath": "$.project.version" },
Expand Down
Loading