Skip to content

Commit

Permalink
quick push
Browse files Browse the repository at this point in the history
  • Loading branch information
bnkc committed Aug 2, 2024
1 parent c728a28 commit ace8cfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
needs: [linux, musllinux, windows, macos, sdist]
steps:
- uses: actions/download-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ impl EmailValidator {
// TLDs must end with a letter.
if !DOMAIN_NAME_REGEX.is_match(normalized_domain.as_bytes()) {
return Err(PySyntaxError::new_err(
"Invalid domain: The part after the '@' sign does not belong to a valid top-level domain (TLD).",
"Invalid domain: The part after the '@' sign does not belong to a valid top-level domain (TLD).",
));
}
}
Expand Down

0 comments on commit ace8cfa

Please sign in to comment.