Skip to content

Conversation

@Lehcar
Copy link

@Lehcar Lehcar commented Jul 24, 2025

Fixes: #2631
I added support for deployment events (see deployment webhooks) and tested this in one of my work's repos.

I had to add another fetch for the default branch in getSHAForNonPullRequestEvent because otherwise I saw the following error:
image

This might be because env.GITHUB_REF_NAME wasn't set when the Action was triggered by a deployment event. It is set properly when this Action is triggered by a merge_group event. (I'm not sure on this, I was having a hard time figuring out where the Action does the fetch for merge_group events).

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.

[Feature] Support deployment events

1 participant