ci: Skip Nix for commits on release branches and tags (#37407)

When doing stable/preview releases simultaneously there are two tags and
two branches pushed. Previously nix was attempting 1 job for each. Our
current mac parallelism is 4.
 
Can't easily test this. 🤷 

Release Notes:

- N/A
035d7ddcf8Peter Tripp committed on 9/3/2025, 12:37:40 AM· committed by GitHubparent9d67276
1 file changedLine totals unavailable