Skip to content

Commit

Permalink
πŸ’š
Browse files Browse the repository at this point in the history
  • Loading branch information
wcandillon authored Mar 11, 2024
1 parent 5c461b8 commit aea43a0
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/build-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,13 @@ jobs:
git checkout -b release-$GITHUB_RUN_ID
git push origin release-$GITHUB_RUN_ID
- name: Create Pull Request
uses: repo-sync/pull-request@v2
with:
source_branch: "release-$GITHUB_RUN_ID"
destination_branch: "main"
github_token: ${{ secrets.GITHUB_TOKEN }}
pr_title: "Release ${{ steps.get_npm_package_version.outputs.npm_package_version }}"
pr_body: "Update release version"
- name: Create Pull Request using GitHub CLI
run: |
gh auth setup-git
gh pr create --base main --head ${{ env.NEW_BRANCH }} --title "Release ${{ steps.get_npm_package_version.outputs.npm_package_version }}" --body "πŸ“ update changelog"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
continue-on-error: true

- name: Get NPM Package name
id: get_npm_package_name
Expand Down

0 comments on commit aea43a0

Please sign in to comment.