You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my testing, I was attempting to trigger a workflow when a new registry package was published. No matter what I tried though the webhook would never trigger. After some digging, I discovered that the webhook payload doesn't contain a ref field which causes the ref check in shouldProcessto never return true. I got my situation to work by making the project ref nullable, but this is more of a temporary fix. Another potential solution could be checking that the ref field exists on the payload before checking it against the project ref.
The text was updated successfully, but these errors were encountered:
In my testing, I was attempting to trigger a workflow when a new registry package was published. No matter what I tried though the webhook would never trigger. After some digging, I discovered that the webhook payload doesn't contain a ref field which causes the ref check in
shouldProcess
to never return true. I got my situation to work by making the project ref nullable, but this is more of a temporary fix. Another potential solution could be checking that the ref field exists on the payload before checking it against the project ref.The text was updated successfully, but these errors were encountered: