I am trying to figure out what the syntax would be for running a workflow, on push, on any branch but master. I read through some other posts here that looks like folks are having issues with the tag filtering, so maybe this is related?
If I use code like:
on: push: branches: - '*' - !master
This will throw the error:
### ERRORED 14:48:42Z - Your workflow file was invalid: .github/workflows/main.yml: Unexpected tag '!master'
Does anyone know the syntax I am looking for?
Thank you in advance!