Skip to content

Commit

Permalink
Simply push
Browse files Browse the repository at this point in the history
  • Loading branch information
akirak committed Nov 2, 2023
1 parent 96116a6 commit bfda5f1
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/merge-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- cron: '0 8 * * 5'

jobs:
create-pr:
push:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -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:
# <https://github.com/peter-evans/create-pull-request/blob/d806186ee3288c60a352af9852b6b18afbbfd87e/src/create-or-update-branch.ts#L178>
- 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

0 comments on commit bfda5f1

Please sign in to comment.