From 7065570143653018e34d4d40dbc218c253674975 Mon Sep 17 00:00:00 2001 From: Moritz Poldrack Date: Sat, 30 Apr 2022 12:38:01 +0200 Subject: [PATCH] added GitHub mirroring --- .build.yml | 20 ++++++++++++++++++++ README.md | 1 + 2 files changed, 21 insertions(+) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..449d5ed --- /dev/null +++ b/.build.yml @@ -0,0 +1,20 @@ +#SPDX-FileCopyrightText: 2022 Moritz Poldrack +#SPDX-License-Identifier: Unlicense +image: archlinux +packages: + - git + - go +secrets: + - a4a77b05-94e0-443c-9408-b2d81f7263fe + - b15309e0-8156-44c8-aa7c-58c0f0b7d503 +shell: false +sources: +- https://git.sr.ht/~poldi1405/normalize-email +tasks: + - mirror-to-github: | + git clone --mirror https://git.sr.ht/~poldi1405/normalize-email/ + cd normalize-email.git + git push --mirror git@github.com:mpldr/normalize-email.git + - run-tests: | + cd normalize-email + go test -v -cover diff --git a/README.md b/README.md index 5da9b58..e121268 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ SPDX-License-Identifier: Unlicense [![Go Documentation](https://godocs.io/mpldr.codes/normalize-email?status.svg)](https://godocs.io/mpldr.codes/normalize-email) [![REUSE status](https://api.reuse.software/badge/git.sr.ht/~poldi1405/normalize-email)](https://api.reuse.software/info/git.sr.ht/~poldi1405/normalize-email) [![License: MPL-2](https://img.shields.io/static/v1?color=green&label=License&message=MPL-2&logo=open-source-initiative&color=3DA639)](https://git.sr.ht/~poldi1405/normalize-email/tree/master/item/LICENSES/MPL-2.0.txt) +[![builds.sr.ht status](https://builds.sr.ht/~poldi1405/normalize-email.svg)](https://builds.sr.ht/~poldi1405/normalize-email) This package is intended to help reduce multiple sign-ups using the same mail-address by applying general and provider specific rules to email -- 2.45.2