Skip to content

Missing pull_request_target.* types #86

Open
@jetersen

Description

@jetersen

Bug Report

Current Behavior
app.on complains about pull_request_target events due to use of octokit/webhook for verification.

pull_request_target.opened
pull_request_target.reopened
pull_request_target.synchronize
pull_request_target.edited

console.warn
"pull_request_target.synchronize" is not a known webhook name (developer.github.com/v3/activity/events/types)

octokit/webhooks.js#666

https://github.com/release-drafter/release-drafter/blob/e3aebd9e73094fee1a9f046928a3dea5389893b9/index.js#L25-L35

Expected behavior/code
Since Probot has intention of supporting GitHub actions via https://github.com/probot/adapter-github-actions than these should not show up as warnings?

Environment

  • Probot version(s): v12.2.0
  • Node/npm version: node 16, npm 8.1.2
  • OS: N/A

Possible Solution

Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions