Skip to content

Add ALLOWED_OWNERS configuration for repository ownership validation#77

Merged
Yaketh (Kushmanmb) merged 3 commits intomasterfrom
copilot/add-allowed-owners-configuration
Feb 25, 2026
Merged

Add ALLOWED_OWNERS configuration for repository ownership validation#77
Yaketh (Kushmanmb) merged 3 commits intomasterfrom
copilot/add-allowed-owners-configuration

Conversation

Copy link

Copilot AI commented Feb 25, 2026

Centralizes repository owner configuration to support kushmanmb-org and kushmanmb as valid owners.

Changes

  • .github/scripts/allowed-owners.sh: Configuration script defining ALLOWED_OWNERS array and validate_owner() function
  • .github/rulesets/APPLY_RULESETS.md: Updated ruleset application instructions to reference ALLOWED_OWNERS and use parameterized owner/repo variables instead of hardcoded kushmanmb-org/web

Usage

# Source in scripts for validation
source .github/scripts/allowed-owners.sh

REPO_OWNER="kushmanmb-org"  # or "kushmanmb"
if ! validate_owner "$REPO_OWNER"; then
  exit 1
fi

gh api /repos/${REPO_OWNER}/${REPO_NAME}/rulesets --input rulesets.json

The script can also be executed directly to list allowed owners:

$ .github/scripts/allowed-owners.sh
Allowed repository owners:
  - kushmanmb-org
  - kushmanmb

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits February 25, 2026 04:32
Co-authored-by: Kushmanmb <193178375+Kushmanmb@users.noreply.github.com>
Co-authored-by: Kushmanmb <193178375+Kushmanmb@users.noreply.github.com>
Copilot AI changed the title [WIP] Add allowed owners configuration Add ALLOWED_OWNERS configuration for repository ownership validation Feb 25, 2026
@Kushmanmb Yaketh (Kushmanmb) marked this pull request as ready for review February 25, 2026 13:50
@Kushmanmb Yaketh (Kushmanmb) merged commit 1f44c41 into master Feb 25, 2026
8 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants