It's not GITHUB_REF what shoud be usedm but github.event.ref.
The actions are triggered on the main branch, so GITHUB_REF shows to main and github.event.ref has the branchname of the deleted branch.
https://docs.github.com/en/rest/reference/git#delete-a-reference
Description
Fix for mistake on branch delete event.
It's not GITHUB_REF what shoud be usedm but github.event.ref. The actions are triggered on the main branch, so GITHUB_REF shows to main and github.event.ref has the branchname of the deleted branch. https://docs.github.com/en/rest/reference/git#delete-a-reference
Links to Tickets or other pull requests
Changes
Datasecurity details on Confluence
Deployment
New Repos, NPM pakages or vendor scripts
Screenshots of UI changes
Approval for review
Link to Definiton of Done
More and detailed information on the definition of done can be found on Confluence