From a6d9a9aa5d6216f822ac9e45d7d8527ff095d4e6 Mon Sep 17 00:00:00 2001 From: Akira Komamura Date: Sun, 5 Nov 2023 03:56:11 +0900 Subject: [PATCH] ci: Just push, don't create a PR --- .github/workflows/merge-upstream.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/merge-upstream.yml b/.github/workflows/merge-upstream.yml index d7ba23fac9d..c0ed9af83e2 100644 --- a/.github/workflows/merge-upstream.yml +++ b/.github/workflows/merge-upstream.yml @@ -18,9 +18,6 @@ jobs: upstream_branch: - 'master' - permissions: - contents: write - steps: - uses: actions/checkout@v3 @@ -37,17 +34,12 @@ jobs: - name: Make a temporary branch run: | git switch -C tmp upstream/${{ matrix.upstream_branch }} - git push --force origin HEAD - env: - GITHUB_TOKEN: ${{ GITHUB_TOKEN }} - name: Cherry pick commits run: | git cherry-pick --strategy ort -X theirs ..${{ matrix.base_ref }} - - name: Create a pull request - uses: peter-evans/create-pull-request@v5 + - name: Push changes + uses: ad-m/github-push-action@master with: - branch: My recipes - title: 'Rebase my branch onto the latest upstream' - labels: automation + force: true