Skip to content

Commit c19f3d5

Browse files
authored
feat(get-email-on-user-profile): add get-email-on-user-profile helper (#685)
1 parent 7ecd6f0 commit c19f3d5

15 files changed

+365
-96
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Get Email on User Profile
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
paths:
7+
- 'src/helpers/get-email-on-user-profile.ts'
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
16+
- uses: ./
17+
id: get-email-on-user-profile
18+
with:
19+
helper: get-email-on-user-profile
20+
login: ${{ github.actor }}
21+
22+
- run: echo "Email is ${{ steps.get-email-on-user-profile.outputs.output }}"

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ with:
4646

4747
Each of the following helpers are defined in a file of the same name in `src/helpers`:
4848

49+
### [get-email-on-user-profile](.github/workflows/get-email-on-user-profile.yml)
50+
51+
- Retrieves a user's github email with optional regex verification
52+
4953
### [get-merge-queue-position](.github/workflows/get-merge-queue-position.yml)
5054

5155
- Returns the current position of a given PR in the GitHub merge queue

dist/284.index.js

Lines changed: 56 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/284.index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/862.index.js

Lines changed: 114 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/862.index.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)