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

Trigger nightly builds on PR to main #1794

Merged
merged 1 commit into from
Jul 19, 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
20 changes: 20 additions & 0 deletions .github/workflows/azureml-cpu-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,26 @@ 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
branches:
- 'main'
paths:
# Unit tests will be run only when there are changes in the
# unit tests related code including:
- examples/**
- recommenders/**
- tests/**
- setup.py

# enable manual trigger
workflow_dispatch:
input:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/azureml-gpu-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,26 @@ 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
branches:
- 'main'
paths:
# Unit tests will be run only when there are changes in the
# unit tests related code including:
- examples/**
- recommenders/**
- tests/**
- setup.py

# enable manual trigger
workflow_dispatch:
input:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/azureml-spark-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,26 @@ 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
branches:
- 'main'
paths:
# Unit tests will be run only when there are changes in the
# unit tests related code including:
- examples/**
- recommenders/**
- tests/**
- setup.py

# enable manual trigger
workflow_dispatch:
input:
Expand Down