Skip to content

Commit

Permalink
Merge pull request #25 from aurelijusbanelis/feature/run-for-externals
Browse files Browse the repository at this point in the history
Depend on Approval of Pull request
  • Loading branch information
aurelijusbanelis committed Sep 13, 2023
2 parents 59ba45e + ec7a34f commit 436d5c7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/test-go.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Run tests

on:
pull_request_target:
pull_request:
types:
- opened
- synchronize
Expand All @@ -11,16 +11,15 @@ on:
- reopened
paths:
- 'go/**'
push:
paths:
- 'go/**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{github.event.pull_request_target.head.ref}}
repository: ${{github.event.pull_request_target.head.repo.full_name}}

- name: Set up Go
uses: actions/setup-go@v4
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/test-node.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Run tests

on:
pull_request_target:
pull_request:
types:
- opened
- synchronize
Expand All @@ -11,16 +11,15 @@ on:
- reopened
paths:
- 'js/**'
push:
paths:
- 'js/**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{github.event.pull_request_target.head.ref}}
repository: ${{github.event.pull_request_target.head.repo.full_name}}

- name: Set up Go
uses: actions/setup-go@v4
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/test-php.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Run tests

on:
pull_request_target:
pull_request:
types:
- opened
- synchronize
Expand All @@ -11,16 +11,15 @@ on:
- reopened
paths:
- 'php/**'
push:
paths:
- 'php/**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{github.event.pull_request_target.head.ref}}
repository: ${{github.event.pull_request_target.head.repo.full_name}}

- name: Set up Go
uses: actions/setup-go@v4
Expand Down

0 comments on commit 436d5c7

Please sign in to comment.