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

Wrap webhook payload dict to avoid collisions #51

Merged

Conversation

paulbarfuss
Copy link
Contributor

What does this PR do?

Moves the webhook payload into its own dict rather than top level:

Before:

project:
  avatar_url: null
  ci_config_path: null
  default_branch: master
  description: ''
  git_http_url: >-
    https://example.com/example/repo.git

After:

webhook_payload:
  project:
    avatar_url: null
    ci_config_path: null
    default_branch: master
    description: ''
    git_http_url: >-
      https://example.com/example/repo.git

Note that this only affects the new ansible-runner plugin and not any other existing config scripts or automation playbooks.

People to notify

cc: @redhat-cop/tool-integrations

@paulbarfuss paulbarfuss requested a review from jacobsee May 13, 2021 21:55
Copy link
Contributor

@jacobsee jacobsee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jacobsee jacobsee merged commit fdbe64a into redhat-cop:master May 13, 2021
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