Skip to content

Commit

Permalink
fix(ci): node generation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tothandras committed Oct 26, 2023
1 parent 84b133d commit 2b67c07
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/generate-client-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ on:
- api/openapi.yaml
- ".github/workflows/generate-client-node.yaml"

env:
NEW_BRANCH: openapi-${GITHUB_SHA::7}/node-clientgen

jobs:
generate:
runs-on: ubuntu-latest
Expand All @@ -35,8 +32,6 @@ jobs:
ref: ${{ github.head_ref }}
# Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
persist-credentials: false
- name: Checkout new Branch
run: git checkout -b ${{ env.NEW_BRANCH }}
- name: Install Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -56,7 +51,7 @@ jobs:
- name: Open Pull Request
uses: peter-evans/create-pull-request@v5
with:
branch: ${{ env.NEW_BRANCH }}
branch: openapi-${GITHUB_SHA::7}/node-client
delete-branch: true
commit-message: "chore(api): generate node client"
title: "[bot] Re-generate Node.js client"
Expand Down

0 comments on commit 2b67c07

Please sign in to comment.