Skip to content

Conversation

@cawfeecake
Copy link
Contributor

@cawfeecake cawfeecake commented Jul 30, 2024

Problem

If a repo has a branch with a name that includes a substring of one of the defaults values of release_branches, e.g. maintenance, this action will determine it to be a release branch when it should only be matching exact main or master.

Fix

Prefix ^ and suffix $ makes matches exact. Also aligned description: with what is in README

@cawfeecake cawfeecake changed the title prevent matching release_branch defaults as substrings rather than exact match release_branches defaults exactly instead of matching as substrings Jul 30, 2024
@cawfeecake cawfeecake changed the title match release_branches defaults exactly instead of matching as substrings fix: match release_branches defaults exactly instead of matching as substrings Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant