Skip to content
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

Automatically calculate some prefixes #236

Merged
merged 3 commits into from
Aug 10, 2015
Merged

Automatically calculate some prefixes #236

merged 3 commits into from
Aug 10, 2015

Conversation

binford2k
Copy link
Member

Allows one to set the webhook's prefix to:

  • :repo: the repository name
  • :user: the owner of the repository
  • :command: run a command using the posted data to determine prefix
    • This is existing behaviour
    • Uses prefix command
    • Aliased to true for backwards compatibility
  • A string: pass the prefix as a static string
  • false: disable the prefix

This is currently tested only on GitHub.

Allows one to set the webhook's `prefix` to:

* `:repo`: the repository name
* `:user`: the owner of the repository
* `:command`: run a command using the posted data to determine prefix
    * This is existing behaviour
    * Uses `prefix command`
    * Aliased to `true` for backwards compatibility
* A string: pass the prefix as a static string
* `false`: disable the prefix

This is currently tested only on GitHub.
@acidprime
Copy link
Collaborator

👍 passes acceptance tests

acidprime added a commit that referenced this pull request Aug 10, 2015
…te_some_prefixes

Automatically calculate some prefixes
@acidprime acidprime merged commit e6fc459 into voxpupuli:master Aug 10, 2015
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