diff --git a/.github/workflows/auto-pr-from-main.yml b/.github/workflows/auto-pr-from-main.yml index b72eb89..d8b3fb9 100644 --- a/.github/workflows/auto-pr-from-main.yml +++ b/.github/workflows/auto-pr-from-main.yml @@ -112,7 +112,7 @@ jobs: --base main \ --head $BRANCH_NAME \ --label "dependencies,auto-update" \ - --assignee ${{ github.event.head_commit.author.username }} || echo "PR already exists or creation failed" + --assignee afonsoft || echo "PR already exists or creation failed" echo "✅ Dependency update PR created successfully" diff --git a/.github/workflows/ci-build-test.yml b/.github/workflows/ci-build-test.yml index 0c56c93..fddd672 100644 --- a/.github/workflows/ci-build-test.yml +++ b/.github/workflows/ci-build-test.yml @@ -271,7 +271,7 @@ jobs: - name: 🔄 Create PR to main uses: peter-evans/create-pull-request@v5 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.PAT_TOKEN || secrets.GITHUB_TOKEN }} commit-message: "🚀 Auto-merge: ${{ github.event.head_commit.message }}" title: "🚀 Auto-PR: ${{ github.ref_name }} → main" body: |