Skip to content

Commit 6099496

Browse files
committed
fix
1 parent fd2ba1f commit 6099496

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/spec-update.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ jobs:
121121
git push --set-upstream origin ${{ steps.branch.outputs.branch }}
122122
123123
- name: "Create pull request"
124-
if: ${{ env.CREATE_PR }}
124+
if: ${{ env.CREATE_PR && steps.spec_diff.outputs.spec_diff == 'true'}}
125125
env:
126126
GH_TOKEN: ${{ secrets.BOT_SDK_JS_FOR_DOCS_REPO_PR }}
127127
run: |
128-
gh pr create --base main --head ${{ steps.push.outputs.branch }} --title "feat: [DevOps] Update $CHOICE Specification"
128+
gh pr create --base main --head ${{ steps.branch.outputs.branch }} --title "feat: [DevOps] Update $CHOICE Specification"
129129
130130
- name: "Compile Client"
131131
id: compile

0 commit comments

Comments
 (0)