Skip to content

Commit

Permalink
add failing cherry picks to pr description
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Jun 6, 2023
1 parent 41493b7 commit 1c774ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prepare-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
run: yarn release:unreleased-changes-exists

- name: Pick patches
id: pick-patches
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn release:pick-patches --verbose
Expand Down Expand Up @@ -105,11 +106,10 @@ jobs:
git push --force origin version-from-${{ steps.version.outputs.current-version }}
- name: Generate PR description
# TODO: this description is wrong, the script doesn't support unpicked patches yet
id: description
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn release:generate-pr-description ${{ steps.unreleased-changes.outputs.has-changes-to-release == 'true' && format('{0} {1} {3} {4}', '--current-version', steps.version.outputs.current-version, '--next-version', steps.version.outputs.next-version) || '' }} --verbose
run: yarn release:generate-pr-description --manual-cherry-picks="${{ steps.pick-patches.outputs.failed-cherry-picks }}" ${{ steps.unreleased-changes.outputs.has-changes-to-release == 'true' && format('{0} {1} {3} {4}', '--current-version', steps.version.outputs.current-version, '--next-version', steps.version.outputs.next-version) || '' }} --verbose

- name: Create or update pull request with release
if: steps.unreleased-changes.outputs.has-changes-to-release == 'true'
Expand Down

0 comments on commit 1c774ba

Please sign in to comment.