Skip to content

Commit 0b7cd30

Browse files
salman2013claude
andcommitted
fix: align CI, release, and PSR config with sample-plugin standard
- Add docs to CI matrix so docs build is validated on every PR - Use OPENEDX_SEMANTIC_RELEASE_GITHUB_TOKEN in release workflow so PSR can bypass branch protections on master - Remove tag_format override (use PSR default v{version} which matches setuptools-scm expectations) - Add commit_parser_options with minor_tags for feat/docs commits Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 42e32f6 commit 0b7cd30

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
python-version: ['3.12']
17-
toxenv: [quality, django42, django52]
17+
toxenv: [quality, docs, django42, django52]
1818

1919
steps:
2020
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
id: release
3737
uses: python-semantic-release/python-semantic-release@v10.5.3
3838
with:
39-
github_token: ${{ secrets.GITHUB_TOKEN }}
39+
github_token: ${{ secrets.OPENEDX_SEMANTIC_RELEASE_GITHUB_TOKEN }}
4040
git_committer_name: "github-actions"
4141
git_committer_email: "github-actions@github.com"
4242
changelog: "false"

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,5 +134,7 @@ uv_constraints = []
134134

135135
[tool.semantic_release]
136136
build_command = "SETUPTOOLS_SCM_PRETEND_VERSION=$NEW_VERSION uv build"
137-
tag_format = "{version}"
137+
138+
[tool.semantic_release.commit_parser_options]
139+
minor_tags = ["feat", "docs"]
138140

0 commit comments

Comments
 (0)