Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove pull_request_target #1840

Merged
merged 2 commits into from
Nov 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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