Skip to content

Restrict /build command to authorized collaborators#20

Merged
othmansh0 merged 1 commit into
developfrom
feature/restrict-build-permissions
Jan 25, 2026
Merged

Restrict /build command to authorized collaborators#20
othmansh0 merged 1 commit into
developfrom
feature/restrict-build-permissions

Conversation

@othmansh0
Copy link
Copy Markdown
Owner

Summary

  • Adds permission check before /build command processing
  • Only users with write or admin permission can trigger builds
  • Unauthorized users see no reaction (workflow silently exits before 👀)

Prevents deployment abuse when the repository is public.

Only users with 'write' or 'admin' permission can now trigger /build
commands. This prevents abuse from unauthorized users on public repos.
@othmansh0 othmansh0 self-assigned this Jan 25, 2026
@othmansh0 othmansh0 added the enhancement New feature or request label Jan 25, 2026
@othmansh0 othmansh0 merged commit 20e2755 into develop Jan 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant