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
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 exactmain
ormaster
.Fix
Prefix
^
and suffix$
makes matches exact. Also aligneddescription:
with what is in README