Skip to content

Commit

Permalink
Merge pull request #41 from deriv-com/add-user-verification
Browse files Browse the repository at this point in the history
fix: add user-verification step
  • Loading branch information
mayuran-deriv authored Jan 21, 2025
2 parents 8d2831c + 1ca5590 commit fb227a9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ jobs:
pull-requests: write
contents: read
steps:
- name: Verify user
uses: "deriv-com/shared-actions/.github/actions/verify_user_in_organization@v1"
with:
username: ${{github.event.pull_request.user.login}}
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v4
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ jobs:
statuses: write
contents: read
steps:
- name: Verify user
uses: "deriv-com/shared-actions/.github/actions/verify_user_in_organization@v1"
with:
username: ${{github.event.pull_request.user.login}}
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v4

Expand Down

0 comments on commit fb227a9

Please sign in to comment.