Skip to content
Merged
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
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# CODEOWNERS - Require review from maintainers for critical files
/.github/workflows/ @abubnalitic-nbl @ltucker
/pyproject.toml @abubnalitic-nbl @ltucker
/.github/CODEOWNERS @abubnalitic-nbl @ltucker
14 changes: 11 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
name: Release

# Global defaults - read-only (least privilege)
permissions:
contents: write
issues: write
pull-requests: write
contents: read
issues: read
pull-requests: read

on:
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
environment: release # Requires manual approval in GitHub settings

# Job-specific write permissions (least privilege)
permissions:
contents: write # Push tags and CHANGELOG
issues: write # Create release issues
pull-requests: write # Create release PRs

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ version_toml = ["pyproject.toml:project.version"]
version_variables = ["src/netbox_mcp_server/__init__.py:__version__"]
branch = "main"
upload_to_vcs_release = true
build_command = "uv build"
tag_format = "v{version}"

[tool.semantic_release.commit_parser_options]
Expand Down