Skip to content

Commit

Permalink
Adding commit id
Browse files Browse the repository at this point in the history
  • Loading branch information
laisspportugal committed Aug 13, 2024
1 parent 2dccad3 commit 43a81c4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
run: yarn version patch

- name: Commit version bumps
id: commit_version_bumps
run: |
git add package.json yarn.lock packages/studio/package.json
git commit -m "chore: bump versions in root and studio package.json"
Expand All @@ -68,7 +69,7 @@ jobs:
uses: actions/github-script@v6
with:
script: |
const { data: pullRequest } = await github.pulls.create({
const pullRequest = await github.pulls.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: 'Auto bump version',
Expand All @@ -77,7 +78,7 @@ jobs:
body: 'Automatically bump the version.',
draft: false
});
return pullRequest.number;
core.setOutput('pullRequest', pullRequest.number);
- name: Auto Merge Pull Request
uses: actions/github-script@v6
Expand All @@ -87,5 +88,5 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: ${{ steps.create_pr.outputs.pullRequest }},
merge_method: squash
merge_method: 'squash'
});

0 comments on commit 43a81c4

Please sign in to comment.