mirror of
https://github.com/microsoft/autogen.git
synced 2025-09-26 08:34:10 +00:00
enable openai workflow on fork branch (#82)
* update * update * Update openai.yml
This commit is contained in:
parent
4d85f4db0a
commit
3b5e627746
8
.github/workflows/openai.yml
vendored
8
.github/workflows/openai.yml
vendored
@ -4,7 +4,7 @@
|
|||||||
name: OpenAI
|
name: OpenAI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request_target:
|
||||||
branches: ['main']
|
branches: ['main']
|
||||||
paths:
|
paths:
|
||||||
- 'autogen/**'
|
- 'autogen/**'
|
||||||
@ -25,7 +25,11 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
environment: openai
|
environment: openai
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
# checkout to pr branch
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user