Skip to content

[Feature] Support issue_comment events when fetching changed files via API #2691

@joerg

Description

@joerg

Is this feature missing in the latest version?

  • I'm using the latest release

Is your feature request related to a problem? Please describe.

Hi,

We use an issue-ops workflow (https://issue-ops.github.io/docs/) for our terraform project which triggers the workflow on a comment in a PR. This comment is of the event type "issue_comment", so the changed_files actions fails then trying to fetch all changed files in the PR via API (error is that only pull_request events are supported).
The issue_comment event does have information about the PR so it should be possible to to use it: https://docs.github.com/en/webhooks/webhook-events-and-payloads#issue_comment.

Describe the solution you'd like?

Please support these issue_comment events.

Describe alternatives you've considered?

I tried getting the SHA of the base branch via a BASH command and such but it all seems like ugly workarounds for a simple problem.

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions