Skip to content

Commit 0f0b65b

Browse files
committed
refactor: update value
1 parent 31a0d18 commit 0f0b65b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/create-pr.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- name: Get version from package.json
1818
id: package_version
19-
run: echo "VERSION=$(jq -r .version package.json)" >> $GITHUB_ENV
19+
run: echo "VERSION=$(jq -r .version ./apps/dokploy/package.json)" >> $GITHUB_ENV
2020

2121
- name: Get latest GitHub tag
2222
id: latest_tag
@@ -42,8 +42,6 @@ jobs:
4242
PR_EXISTS=$(gh pr list --state open --base main --head canary --json number --jq '. | length')
4343
echo "PR_EXISTS=$PR_EXISTS" >> $GITHUB_ENV
4444
echo $PR_EXISTS
45-
env:
46-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4745
4846
- name: Create Pull Request
4947
if: env.VERSION_CHANGED == 'true' && env.PR_EXISTS == '0'

0 commit comments

Comments
 (0)