Skip to content

Commit

Permalink
Update automation script to pull and rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreyaschorge committed Dec 23, 2024
1 parent 2a57e8b commit a0d6919
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/oas-to-sdk-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '>=19.9.0'
node-version: ">=19.9.0"

- name: Update OAS submodule and package version in nodejs-sdk
run: |
Expand Down Expand Up @@ -82,6 +82,9 @@ jobs:
git add package.json
git commit -m "Update package.json version to $SDK_VERSION"
# Pull and rebase
git pull --rebase
# Push changes
git push origin HEAD:"$BRANCH_NAME"
shell: bash
Expand Down

0 comments on commit a0d6919

Please sign in to comment.