Skip to content

Commit

Permalink
enable openai workflow on fork branch (#82)
Browse files Browse the repository at this point in the history
* update

* update

* Update openai.yml
  • Loading branch information
LittleLittleCloud authored Oct 2, 2023
1 parent 4d85f4d commit 3b5e627
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/openai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name: OpenAI

on:
pull_request:
pull_request_target:
branches: ['main']
paths:
- 'autogen/**'
Expand All @@ -25,7 +25,11 @@ jobs:
runs-on: ${{ matrix.os }}
environment: openai
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 }}
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 3b5e627

Please sign in to comment.