Skip to content

Commit

Permalink
fix: Re-generate PR using base instead of head (#55)
Browse files Browse the repository at this point in the history
* allow errors out

* set gh token

* use base instead of head for re generation
  • Loading branch information
lucaspopp-wbd authored Jun 11, 2024
1 parent a9ac206 commit ddd777e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-comment-handler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, 'recreate-me') }}
outputs:
pr-head: ${{ steps.pr-details.outputs.head }}
pr-base: ${{ steps.pr-details.outputs.base }}
steps:

- uses: actions/checkout@v4
Expand All @@ -47,7 +47,7 @@ jobs:
needs: [handle-comment]
uses: ./.github/workflows/generate.yml
with:
pr-base: ${{ needs.handle-comment.outputs.pr-head }}
pr-base: ${{ needs.handle-comment.outputs.pr-base }}
secrets: inherit

close-old:
Expand Down

0 comments on commit ddd777e

Please sign in to comment.