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

Change back to use pull_requst trigger #1048

Merged
merged 1 commit into from
Nov 21, 2024
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
7 changes: 2 additions & 5 deletions .github/workflows/cpu_local_marqo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ on:
- releases/*
paths-ignore:
- '**.md'
pull_request_target:
pull_request:
branches:
- mainline
- releases/*
Expand All @@ -44,7 +44,7 @@ permissions:
contents: read

concurrency:
group: cpu-local-api-tests-${{ github.head_ref || github.ref }}
group: cpu-local-api-tests-${{ github.ref }}
cancel-in-progress: true

jobs:
Expand Down Expand Up @@ -94,9 +94,6 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
# if triggered by a pull_request_target event, we should use the merge ref of the PR
# if triggered by a push event, github.ref points to the head of the source branch
ref: ${{ github.event_name == 'pull_request_target' && format('refs/pull/{0}/merge', github.event.pull_request.number) || github.ref }}

- name: Set up Python 3.8
uses: actions/setup-python@v3
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/largemodel_unit_test_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ on:
- releases/*
paths-ignore:
- '**.md'
pull_request_target:
pull_request:
branches:
- mainline
- releases/*
paths-ignore:
- '**.md'

concurrency:
group: large-model-unit-tests-${{ github.head_ref || github.ref }}
group: large-model-unit-tests-${{ github.ref }}
cancel-in-progress: true

permissions:
Expand Down Expand Up @@ -69,9 +69,6 @@ jobs:
with:
fetch-depth: 0
path: marqo
# if triggered by a pull_request_target event, we should use the merge ref of the PR
# if triggered by a push event, github.ref points to the head of the source branch
ref: ${{ github.event_name == 'pull_request_target' && format('refs/pull/{0}/merge', github.event.pull_request.number) || github.ref }}

- name: Set up Python 3.8
uses: actions/setup-python@v3
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/unit_test_200gb_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:
branches:
- mainline
- releases/*
pull_request_target:
pull_request:
branches:
- mainline
- releases/*

concurrency:
group: unit-tests-${{ github.head_ref || github.ref }}
group: unit-tests-${{ github.ref }}
cancel-in-progress: true

permissions:
Expand Down Expand Up @@ -65,9 +65,6 @@ jobs:
with:
fetch-depth: 0
path: marqo
# if triggered by a pull_request_target event, we should use the merge ref of the PR
# if triggered by a push event, github.ref points to the head of the source branch
ref: ${{ github.event_name == 'pull_request_target' && format('refs/pull/{0}/merge', github.event.pull_request.number) || github.ref }}

- name: Set up Python 3.8
uses: actions/setup-python@v3
Expand Down
Loading