Skip to content

Commit c5604c7

Browse files
Merge pull request #54 from netboxlabs/fix/remove-build-command
fix: remove build_command from semantic-release config
2 parents abe09c3 + 2a6ae7d commit c5604c7

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

.github/CODEOWNERS

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# CODEOWNERS - Require review from maintainers for critical files
2+
# See: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
3+
4+
# Workflow files require review from maintainers (prevents bypass attacks)
5+
/.github/workflows/ @abubnalitic-nbl @ltucker
6+
7+
# Release configuration requires review
8+
/pyproject.toml @abubnalitic-nbl @ltucker
9+
10+
# Security-sensitive configuration
11+
/.github/CODEOWNERS @abubnalitic-nbl @ltucker

.github/workflows/release.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
name: Release
22

3+
# Global defaults - read-only (least privilege)
34
permissions:
4-
contents: write
5-
issues: write
6-
pull-requests: write
5+
contents: read
6+
issues: read
7+
pull-requests: read
78

89
on:
910
workflow_dispatch:
1011

1112
jobs:
1213
release:
1314
runs-on: ubuntu-latest
15+
environment: release # Requires manual approval in GitHub settings
16+
17+
# Job-specific write permissions (least privilege)
18+
permissions:
19+
contents: write # Push tags and CHANGELOG
20+
issues: write # Create release issues
21+
pull-requests: write # Create release PRs
1422

1523
steps:
1624
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ version_toml = ["pyproject.toml:project.version"]
3131
version_variables = ["src/netbox_mcp_server/__init__.py:__version__"]
3232
branch = "main"
3333
upload_to_vcs_release = true
34-
build_command = "uv build"
3534
tag_format = "v{version}"
3635

3736
[tool.semantic_release.commit_parser_options]

0 commit comments

Comments
 (0)