Skip to content

Commit

Permalink
Update changelog.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tilucasoli committed Jul 5, 2024
1 parent 8ef173a commit 869902b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,12 @@ jobs:
git config --global user.name 'GitHub Action'
git config --global user.email '[email protected]'
- name: Run melos version
- name: Creating the new version

run: |
git checkout -b release/package-versions
git push --set-upstream origin release/package-versions
packages_with_versions=""
if [ "${{ github.event.inputs.mix }}" != "" ]; then
Expand All @@ -78,12 +81,7 @@ jobs:
melos version --yes $packages_with_versions
- name: Open PR
run: |
git checkout -b release/package-versions
git push --set-upstream origin release/package-versions --no-tags
git pull
git push origin --tags
git push --follow-tags
gh pr create --title "chore: version packages" --body "This PR was opened by the changelog GitHub Actions workflow" --reviewer leoafarias
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 869902b

Please sign in to comment.