Skip to content

Commit

Permalink
chore: use pull_request_target event to allow forks to run jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
marwen-abid committed Nov 17, 2023
1 parent 3febca0 commit 16857a6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# we set `sdp-backend` as code owners
# require approval from 1 member of `sdp-backend` team
@stellar/sdp-backend
5 changes: 4 additions & 1 deletion .github/workflows/anchor_platform_integration_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ on:
- "release/**"
- "releases/**"
- "hotfix/**"
pull_request:
pull_request_target:
workflow_call: # allows this workflow to be called from another workflow

permissions:
contents: read

jobs:
anchor-integration:
runs-on: ubuntu-latest
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/e2e_integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ on:
- "release/**"
- "releases/**"
- "hotfix/**"
pull_request:
pull_request_target:
workflow_call: # allows this workflow to be called from another workflow

permissions:
contents: read

env:
USER_EMAIL: "[email protected]"
USER_PASSWORD: "mockPassword123!"
Expand Down

0 comments on commit 16857a6

Please sign in to comment.