Skip to content

Commit ace8cfa

Browse files
committed
quick push
1 parent c728a28 commit ace8cfa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156
release:
157157
name: Release
158158
runs-on: ubuntu-latest
159-
if: "startsWith(github.ref, 'refs/tags/')"
159+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
160160
needs: [linux, musllinux, windows, macos, sdist]
161161
steps:
162162
- uses: actions/download-artifact@v4

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ impl EmailValidator {
388388
// TLDs must end with a letter.
389389
if !DOMAIN_NAME_REGEX.is_match(normalized_domain.as_bytes()) {
390390
return Err(PySyntaxError::new_err(
391-
"Invalid domain: The part after the '@' sign does not belong to a valid top-level domain (TLD).",
391+
"Invalid domain: The part after the '@' sign does not belong to a valid top-level domain (TLD).",
392392
));
393393
}
394394
}

0 commit comments

Comments
 (0)