Skip to content

Commit 08148b3

Browse files
Merge pull request #5 from deriv-com/ako/check-user-in-org
ci: add verify user in the org
2 parents 9995268 + e9b943f commit 08148b3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/templates/actions/.github/workflows/build-and-deploy-test.yml

+6
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ jobs:
2121
timeout-minutes: 30
2222
runs-on: ubuntu-latest
2323
steps:
24+
- name: Verify user
25+
uses: 'deriv-com/shared-actions/.github/actions/verify_user_in_organization@v1'
26+
with:
27+
username: ${{ github.event.pull_request.user.login }}
28+
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
29+
2430
- name: Checkout to branch
2531
uses: actions/checkout@v3
2632
with:

0 commit comments

Comments
 (0)