From 414cdffe1b6c2fa7e0044e71582d046656b11e9c Mon Sep 17 00:00:00 2001 From: Vivy Bot Date: Sun, 1 Feb 2026 21:49:07 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20ci:=20fixing=20auto=20PR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-pr-from-mirror.yaml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/auto-pr-from-mirror.yaml b/.github/workflows/auto-pr-from-mirror.yaml index 7697d92..6c66377 100644 --- a/.github/workflows/auto-pr-from-mirror.yaml +++ b/.github/workflows/auto-pr-from-mirror.yaml @@ -1,4 +1,4 @@ -name: Auto PR from Local Git Mirror +name: Auto PR from mirror-main on: push: @@ -6,14 +6,15 @@ on: - mirror-main jobs: - create-pr: + pr: runs-on: ubuntu-latest steps: - - name: Create Pull Request - uses: peter-evans/create-pull-request@v8 - with: - token: ${{ secrets.GITHUB_TOKEN }} - branch: mirror-main - base: main - title: "Sync from local git mirror" - body: "Automated PR created from local git mirror branch main." + - name: Create PR via GitHub CLI + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh pr create \ + --base main \ + --head mirror-main \ + --title "Sync from Gitea main" \ + --body "Automated PR created from Gitea mirror branch."