|
10 | 10 | get_easy_email: |
11 | 11 | runs-on: ubuntu-latest |
12 | 12 | name: Get an easy to find email |
| 13 | + steps: |
| 14 | + - name: get easy email |
| 15 | + id: get_easy_email_test |
| 16 | + uses: evvanErb/get-github-email-by-username-action@main |
| 17 | + with: |
| 18 | + github-username: 'evvanErb' |
| 19 | + token: ${{ secrets.BOT_TOKEN }} |
| 20 | + |
| 21 | + - name: Echo the output email |
| 22 | + run: echo "The email is ${{ steps.get_easy_email_test.outputs.email }}" |
| 23 | + |
| 24 | + get_easy_email_bad_token: |
| 25 | + runs-on: ubuntu-latest |
| 26 | + name: Get an easy to find email bad token |
13 | 27 | steps: |
14 | 28 | - name: get easy email |
15 | 29 | id: get_easy_email_test |
|
29 | 43 | uses: evvanErb/get-github-email-by-username-action@main |
30 | 44 | with: |
31 | 45 | github-username: 'highly0' |
| 46 | + token: ${{ secrets.BOT_TOKEN }} |
| 47 | + |
| 48 | + - name: Echo the output email |
| 49 | + run: echo "The email is ${{ steps.get_email_after_bot_test.outputs.email }}" |
| 50 | + |
| 51 | + get_email_only_userpage_no_events: |
| 52 | + runs-on: ubuntu-latest |
| 53 | + name: Get an email listed on a user's page but not in events |
| 54 | + steps: |
| 55 | + - name: get email after bot |
| 56 | + id: get_email_after_bot_test |
| 57 | + uses: evvanErb/get-github-email-by-username-action@main |
| 58 | + with: |
| 59 | + github-username: 'jaronson13' |
| 60 | + token: ${{ secrets.BOT_TOKEN }} |
32 | 61 |
|
33 | 62 | - name: Echo the output email |
34 | 63 | run: echo "The email is ${{ steps.get_email_after_bot_test.outputs.email }}" |
|
42 | 71 | uses: evvanErb/get-github-email-by-username-action@main |
43 | 72 | with: |
44 | 73 | github-username: 'hstought' |
| 74 | + token: ${{ secrets.BOT_TOKEN }} |
45 | 75 |
|
46 | 76 | - name: Echo the output email (Should not run) |
47 | 77 | run: echo "The email is ${{ steps.fail_bad_email_test.outputs.email }}" |
|
55 | 85 | uses: evvanErb/get-github-email-by-username-action@main |
56 | 86 | with: |
57 | 87 | github-username: 'evvvvvaaannnnneeerrrbbb' |
| 88 | + token: ${{ secrets.BOT_TOKEN }} |
58 | 89 |
|
59 | 90 | - name: Echo the output email (Should not run) |
60 | 91 | run: echo "The email is ${{ steps.get_email_after_bot_test.outputs.email }}" |
0 commit comments