Ugh. Just learned that glob patterns do NOT actually work for github action branch constraints. Right after copying a clever (so I thought) pattern from someone else who also apparently did not know this.
That is:
branches: [2.*]
does NOT work like I thought; matches only literal "2.*"
That is:
branches: [2.*]
does NOT work like I thought; matches only literal "2.*"
Comments
https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
Either way I don't actual need filtering so could just remove it.
on:
push:
branches: [2.*]
without quotes. Maybe that's it. Examples use either longer list notation.
Should know better than copy something someone did, without double-checking it actually works, isn't just used (incorrectly).