Skip to content

feat: enhance organization webhook creation script #114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 23, 2025

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.

1 participant