Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .github/workflows/bump-gitstream-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
run: npm run all

- name: Create PR for ${{ env.VERSION }}
id: create-pr
env:
GH_TOKEN: ${{ github.token }}
run: |
Expand All @@ -69,8 +70,16 @@ jobs:
git add package.json package-lock.json dist/index.js
git commit -m "bump @linearb/gitstream-core to ${{ env.VERSION }}"
git push origin HEAD:${{ env.BRANCH_NAME }}
gh pr create \
PR_URL=$(gh pr create \
--base develop \
--title "Bump \`@linearb/gitstream-core\` to \`${{ env.VERSION }}\`" \
--title 'Bump `@linearb/gitstream-core` to `${{ env.VERSION }}`' \
--body-file pr_description.txt \
--head ${{ env.BRANCH_NAME }} ${{ env.REVIEWER_ARG }} ${{ env.LABEL_ARG }}
--head ${{ env.BRANCH_NAME }} ${{ env.REVIEWER_ARG }} ${{ env.LABEL_ARG }})
echo "pr_url=$PR_URL" >> $GITHUB_OUTPUT

- name: Output PR URL
if: success()
run: |
echo "✅ PR created successfully: ${{ steps.create-pr.outputs.pr_url }}"
echo "**✅ PR Created**" >> $GITHUB_STEP_SUMMARY
echo "${{ steps.create-pr.outputs.pr_url }}" >> $GITHUB_STEP_SUMMARY
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

25 changes: 15 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.