changed-files icon indicating copy to clipboard operation
changed-files copied to clipboard

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

Open joerg opened this issue 3 months ago • 0 comments

Is this feature missing in the latest version?

  • [x] 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

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

joerg avatar Oct 15 '25 12:10 joerg