diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32d5848..cbefd46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,9 +22,8 @@ jobs: with: module: 'internet' method: 'email' - - run: echo "${{ steps.email.outputs.value }}" - # - uses: gabrielrufino/expect-action@v1.0.0 - # with: - # type: 'regex' - # value: '123' - # pattern: '^-?\d+$' + - uses: actalog/expect@v1 + with: + type: 'regex' + value: ${{ steps.email.outputs.value }} + pattern: '^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$' diff --git a/README.md b/README.md index 78d6f06..baa1f8f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# Faker - Action +# Faker Generate fake data in your GitHub workflows diff --git a/action.yml b/action.yml index e44be98..0a2b082 100644 --- a/action.yml +++ b/action.yml @@ -1,4 +1,4 @@ -name: Faker +name: '@actalog/faker' inputs: type: diff --git a/package-lock.json b/package-lock.json index 80dbb81..7cd599b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "@gabrielrufino/faker-action", + "name": "@actalog/faker", "version": "1.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@gabrielrufino/faker-action", + "name": "@actalog/faker", "version": "1.0.1", "license": "UNLICENSED", "dependencies": { diff --git a/package.json b/package.json index 5ba5a1c..24bb5ce 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@gabrielrufino/faker-action", + "name": "@actalog/faker", "private": true, "version": "1.0.1", "main": "src/index.js",