diff --git a/.github/workflows/merge-upstream.yml b/.github/workflows/merge-upstream.yml index fc96591f14e..81b291d1baf 100644 --- a/.github/workflows/merge-upstream.yml +++ b/.github/workflows/merge-upstream.yml @@ -61,4 +61,24 @@ jobs: run: | git rebase -s ort -X ours ${{ steps.start.outputs.rev }} - - run: git push origin HEAD + - run: git push --force-with-lease origin HEAD + + pr: + runs-on: ubuntu-latest + + needs: + - push + + steps: + - uses: actions/checkout@v3 + with: + ref: upstream-recipes + + - name: Create a pull request + uses: peter-evans/create-pull-request@v5 + with: + base: akirak + branch: upstream-recipes + token: ${{ secrets.PAT_FOR_PR }} + title: 'Merge the upstream recipe commits' + labels: automation