diff --git a/.github/workflows/merge-upstream.yml b/.github/workflows/merge-upstream.yml index 0eb35f3f2ba..fc96591f14e 100644 --- a/.github/workflows/merge-upstream.yml +++ b/.github/workflows/merge-upstream.yml @@ -6,7 +6,7 @@ on: - cron: '0 8 * * 5' jobs: - create-pr: + push: runs-on: ubuntu-latest steps: @@ -61,18 +61,4 @@ jobs: run: | git rebase -s ort -X ours ${{ steps.start.outputs.rev }} - # A workaround to prevent peter-evans/create-pull-request from resetting the - # head here: - # - - name: Detach the head - run: git switch --detach `git rev-parse HEAD` - - - name: Create a pull request - uses: peter-evans/create-pull-request@v5 - with: - base: akirak - branch: create-pull-request/recipes - branch-suffix: timestamp - token: ${{ secrets.PAT_FOR_PR }} - title: 'Merge the upstream recipe commits' - labels: automation + - run: git push origin HEAD