Skip to content
Merged
Changes from all commits
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
4 changes: 3 additions & 1 deletion .github/workflows/sdk_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@ jobs:
if [ -n "$FEATURE_BRANCH_INPUT" ]; then
# SDK PRs must come from a reviewable feature branch, never a
# protected ref or an option-looking / metacharacter name.
# refs/* is blocked too: "refs/heads/main" would bypass the
# literal main check and force-push the default branch.
case "$FEATURE_BRANCH_INPUT" in
main|master|release/*|-*|*[!a-zA-Z0-9._/-]*)
main|master|release/*|refs/*|-*|*[!a-zA-Z0-9._/-]*)
echo "::error::Invalid feature_branch '$FEATURE_BRANCH_INPUT'"
exit 1
;;
Expand Down