From 4c7690c6591061f3ba36dfe921392a84568763b7 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 8 Nov 2024 10:16:27 +0900 Subject: [PATCH] PR: using an action to push --- .github/workflows/pr_from_upstream.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_from_upstream.yml b/.github/workflows/pr_from_upstream.yml index c88b400..8861291 100644 --- a/.github/workflows/pr_from_upstream.yml +++ b/.github/workflows/pr_from_upstream.yml @@ -76,8 +76,10 @@ jobs: - name: Push changes to new branch if: success() - run: | - git push origin "${{ env.BRANCH_NAME }}" + uses: ad-m/github-push-action@v0.8.0 + with: + branch: "${{ env.BRANCH_NAME }}" + github_token: ${{ secrets.REKKU_PRIVATE_KEY }} - name: Create Pull Request if: success()