Skip to content

Commit

Permalink
Merge pull request #1840 from microsoft/pull_req_fix
Browse files Browse the repository at this point in the history
Remove pull_request_target
  • Loading branch information
miguelgfierro authored Nov 11, 2022
2 parents 3673c01 + 4d975cc commit 7b986d8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 40 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/azureml-cpu-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,7 @@ on:
# to ensure we are running the build on the staging branch, we can add push policy for it
branches: [staging]

# pull_request_target allows execution of workflows in the context
# of a base repository. When a PR is raised from a forked repo, it
# gives the workflow access to AZUREML_TEST_CREDENTIALS, stored as
# a repo level secret, which is needed to trigger execution of unit
# tests on AzureML compute.
pull_request_target:
types:
- opened
- reopened
- synchronize
pull_request:
branches:
- 'main'
paths:
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/azureml-gpu-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,7 @@ on:
# to ensure we are running the build on the staging branch, we can add push policy for it
branches: [staging]

# pull_request_target allows execution of workflows in the context
# of a base repository. When a PR is raised from a forked repo, it
# gives the workflow access to AZUREML_TEST_CREDENTIALS, stored as
# a repo level secret, which is needed to trigger execution of unit
# tests on AzureML compute.
pull_request_target:
types:
- opened
- reopened
- synchronize
pull_request:
branches:
- 'main'
paths:
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/azureml-spark-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,7 @@ on:
# to ensure we are running the build on the staging branch, we can add push policy for it
branches: [staging]

# pull_request_target allows execution of workflows in the context
# of a base repository. When a PR is raised from a forked repo, it
# gives the workflow access to AZUREML_TEST_CREDENTIALS, stored as
# a repo level secret, which is needed to trigger execution of unit
# tests on AzureML compute.
pull_request_target:
types:
- opened
- reopened
- synchronize
pull_request:
branches:
- 'main'
paths:
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/azureml-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,7 @@
name: azureml-unit-tests

on:
# pull_request_target allows execution of workflows in the context
# of a base repository. When a PR is raised from a forked repo, it
# gives the workflow access to AZUREML_TEST_CREDENTIALS, stored as
# a repo level secret, which is needed to trigger execution of unit
# tests on AzureML compute.
pull_request_target:
types:
- opened
- reopened
- synchronize
pull_request:
branches:
- 'staging'
- 'main'
Expand Down

0 comments on commit 7b986d8

Please sign in to comment.