Skip to content

Commit

Permalink
Update openai-api-check.yml (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
fedefernandez authored Dec 6, 2023
1 parent 40223db commit 1db0945
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/openai-api-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
jobs:
checkAPIVersion:
runs-on: ubuntu-latest
permissions:
- contents: write
- pull-requests: write
steps:
- name: Install Octokit Action
run: npm install @octokit/action
Expand Down Expand Up @@ -135,14 +138,11 @@ jobs:
uses: gradle/gradle-build-action@v2
with:
arguments: openaiClientGenerate
- name: Spotless Apply
if: env.CURRENT_API_COMMIT != env.LATEST_API_COMMIT
uses: gradle/gradle-build-action@v2
with:
arguments: spotlessApply
- name: Create PR
if: env.CURRENT_API_COMMIT != env.LATEST_API_COMMIT
uses: peter-evans/create-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit-message: 'Update OpenAI Client'
branch: update/openai-client
Expand Down

0 comments on commit 1db0945

Please sign in to comment.