2727 private-key : ${{ secrets.RELEASE_PRIVATE_KEY }}
2828 permission-contents : write # to create commits, tags, and releases
2929 permission-pull-requests : write # to create and update PRs
30- permission-members : read # to request team reviewers on PRs
3130
3231 - name : Checkout source branch
3332 uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
@@ -86,14 +85,14 @@ jobs:
8685 HUSKY : 0
8786 run : |
8887 npm i -g conventional-changelog-cli
89- SUMMARY=$(((npx conventional-changelog -u) 2>&1) | sed "s/*/<br> */g" | sed "s/#/ /g" | tr -d '\n' || true)
90- echo $SUMMARY
9188 echo "Current version: $CURRENT_VERSION_VALUE"
9289 echo "New version: $NEW_VERSION_VALUE"
9390 npx replace $CURRENT_VERSION_VALUE $NEW_VERSION_VALUE README.md
9491 echo ${{ steps.create-release.outputs.new_version }}
95- echo "commit_summary=$SUMMARY" >> $GITHUB_OUTPUT
9692 npx standard-version --skip.commit --skip.tag
93+ SUMMARY=$(((npx conventional-changelog -u) 2>&1) | sed "s/*/<br> */g" | sed "s/#/ /g" | tr -d '\n' || true)
94+ echo $SUMMARY
95+ echo "commit_summary=$SUMMARY" >> $GITHUB_OUTPUT
9796
9897 - name : Create verified commit and tag via GitHub API
9998 uses : ryancyq/github-signed-commit@e9f3b28c80da7be66d24b8f501a5abe82a6b855f # v1.2.0
@@ -116,4 +115,3 @@ jobs:
116115 github_token : ${{ steps.generate-token.outputs.token }}
117116 pr_title : " chore(release): pulling ${{ steps.create-release.outputs.branch_name }} into master"
118117 pr_body : " :crown: *An automated PR*\n\n ${{ steps.finish-release.outputs.commit_summary }}"
119- pr_reviewer : ' @rudderlabs/sdk-ios'
0 commit comments