mirror of https://github.com/dense-analysis/ale
Use filter pattern instead of regex for tags filter in CI workflow (#3802)
since regex is not supported for filtering paths, tags and branches. - Document: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet - Answer by GitHub staff: https://github.community/t/using-regex-for-filtering/16427/2
This commit is contained in:
parent
0d90cb64c6
commit
45430eb07e
|
@ -4,7 +4,8 @@ on: # yamllint disable-line rule:truthy
|
||||||
push:
|
push:
|
||||||
branches: [ master ] # yamllint disable-line rule:brackets
|
branches: [ master ] # yamllint disable-line rule:brackets
|
||||||
tags:
|
tags:
|
||||||
- /^v\d+\.\d+\.(x|\d+)$/
|
- v[0-9]+.[0-9]+.x
|
||||||
|
- v[0-9]+.[0-9]+.[0-9]+
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ] # yamllint disable-line rule:brackets
|
branches: [ master ] # yamllint disable-line rule:brackets
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue