Skip to content

Commit

Permalink
Fix PR creation (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Nov 21, 2021
1 parent e544b47 commit 5fa6d50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ jobs:
git checkout -b $branch
git commit -m "$message"
git remote remove $remote || true
git remote add -f $remote $remoteurl || true
git remote add -f $remote "$remoteurl" || true
git push --set-upstream $remote $branch
gh pr create --base docker-library:master --head $USER_NAME:$branch --title "$message" --body "Update Monica to [v$latest](https://github.com/monicahq/monica/releases/tag/v$latest)."
gh pr create --repo docker-library/master --title "$message" --body "Update Monica to [v$latest](https://github.com/monicahq/monica/releases/tag/v$latest)."
else
echo "Already up to date"
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
git checkout -b $branch
git commit -m "$message"
git remote remove $remote || true
git remote add -f $remote $remoteurl || true
git remote add -f $remote "$remoteurl" || true
git push --set-upstream $remote $branch
gh pr create --title "$message" --body "Update Monica to [v$latest](https://github.com/monicahq/monica/releases/tag/v$latest)."
else
Expand Down

0 comments on commit 5fa6d50

Please sign in to comment.