Skip to content

Conversation

@joshjohanning
Copy link
Owner

  • Added usage instructions and argument validation, including default and common event suggestions, to guide users and prevent incorrect usage.
  • Allows dynamic specification of webhook events, defaulting to push if none are provided, making the script more flexible.
  • Added logic to detect and warn about using OAuth tokens (which have management limitations) and recommend Personal Access Tokens for webhook management.
  • Improved output messages to clearly indicate the webhook creation process and token type being used.
  • Refactored the webhook creation API call to use the provided arguments and events, ensuring the correct configuration is sent to GitHub.

@joshjohanning joshjohanning enabled auto-merge (squash) August 23, 2025 03:02
@joshjohanning joshjohanning merged commit 15534b2 into main Aug 23, 2025
2 checks passed
@joshjohanning joshjohanning deleted the enhance-organization-webhook-script branch August 23, 2025 03:02
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