Skip to content
Discussion options

You must be logged in to vote

There is apparently no way to insert Unicode characters into character classes in branch/tag patterns. However, you can use them directly.

name: Fail when incorrect branch names are used
on:
  push:
    branches:
    - '*á*'
    - '*é*'
 # And so on...

It's up to to you decide if that's cleaner than using character classes in regular expression within the action itself, which would be triggered for every branch, as the answers above.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@JJ
Comment options

Comment options

You must be logged in to vote
1 reply
@JJ
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by JJ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question Ask and answer questions about GitHub features and usage Actions Runner For issues and discussions related to the Actions Runner project Misc General discussions about GitHub Actions that don't fit other found themes.
3 participants