## The problem
Issue argoproj/argo-cd#15427 (closed, 49 comments): GitHub webhooks stop refreshing ApplicationSets when the tracked branch or tag contains a slash, e.g. env/dev. Pushes to main refresh fine, but pushes to env/dev never trigger a refresh, even though the webhook is delivered.

## What to do
Reporter-confirmed root cause and workaround. GitHub sends the full branch ref (refs/heads/env/dev) in the webhook payload, and the ApplicationSet webhook handler misparses refs containing a slash, so the refresh never matches. Maintainer rumstead's workaround, verified by reporter pre: in your git generator, use the fully qualified ref, refs/heads/env/dev for branches or refs/tags/v3.14.1 for tags, instead of the short name. With the qualified ref the webhook matches and refreshes correctly. The underlying parsing bug has a PR upstream, but the qualified-ref form works today.