Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Correct and simplify branch/tag filtering
  • Loading branch information
seadowg committed Mar 18, 2026
commit 3f7da5842f07b1a26d73eaaab0da7c06e6de18d4
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ workflows:
branches:
ignore:
- master
- ^v((20)[0-9]{2})\.\d+\.x$
- /^v\d+\.\d+.x/
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a $ at the end? Unlikely we'd have a branch name with something after the x but to be really explicit...

- compile:
requires:
- hold_pr
Expand All @@ -370,7 +370,7 @@ workflows:
branches:
only:
- master
- ^v((20)[0-9]{2})\.\d+\.x$
- /^v\d+\.\d+.x/
- check_quality:
requires:
- compile
Expand Down Expand Up @@ -412,15 +412,15 @@ workflows:
- compile:
filters:
tags:
only: /^v((20)[0-9]{2})\.\d+\.\d+$/ # matches semvers like v1.2.3
only: /^v\d+\.\d+.\d+/
branches:
ignore: /.*/
- create_dependency_backup:
requires:
- compile
filters:
tags:
only: /^v((20)[0-9]{2})\.\d+\.\d+$/ # matches semvers like v1.2.3
only: /^v\d+\.\d+.\d+/
branches:
ignore: /.*/