Skip to content

Liuliu/resource-utils: add branch protection name pattern #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 12, 2024

Conversation

liuliu-dev
Copy link
Collaborator

No description provided.

@liuliu-dev liuliu-dev requested a review from tbantle22 March 12, 2024 21:46
Copy link
Collaborator

@tbantle22 tbantle22 left a comment

Choose a reason for hiding this comment

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

One comment, otherwise looks good

@@ -40,8 +40,32 @@ const invalidBranchNamePattern = [
`/$`,
].join("|");

// Removed ?,^, [, \, * from invalidBranchNamePattern as they are allowed in fnmatch
const invalidBranchProtectionNamePattern = [
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are these all in invalidBranchNamePattern too? Can spread this array in there so it's clearer what the differences are

@liuliu-dev liuliu-dev merged commit 48035bf into main Mar 12, 2024
1 check passed
@liuliu-dev liuliu-dev deleted the liuliu/add-branch-protection-name-check branch March 12, 2024 23:52
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.

2 participants