Skip to content

Commit fb227a9

Browse files
Merge pull request deriv-com#41 from deriv-com/add-user-verification
fix: add user-verification step
2 parents 8d2831c + 1ca5590 commit fb227a9

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/deploy-preview.yml

+5
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ jobs:
7575
pull-requests: write
7676
contents: read
7777
steps:
78+
- name: Verify user
79+
uses: "deriv-com/shared-actions/.github/actions/verify_user_in_organization@v1"
80+
with:
81+
username: ${{github.event.pull_request.user.login}}
82+
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
7883
- name: Checkout repository
7984
uses: actions/checkout@v4
8085
with:

.github/workflows/deploy-production.yml

+5
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ jobs:
6969
statuses: write
7070
contents: read
7171
steps:
72+
- name: Verify user
73+
uses: "deriv-com/shared-actions/.github/actions/verify_user_in_organization@v1"
74+
with:
75+
username: ${{github.event.pull_request.user.login}}
76+
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
7277
- name: Checkout repository
7378
uses: actions/checkout@v4
7479

0 commit comments

Comments
 (0)