mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 05:04:28 +08:00
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:
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user