From 8941234ce1a98742301a9e4ecf0cc784eddaf9e9 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Thu, 9 Jan 2025 18:27:53 -0800 Subject: [PATCH] Use NGINX bot to commit --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54b7edd..41ba286 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,9 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + ref: ${{ github.head_ref }} + token: ${{ secrets.NGINX_PAT }} - name: Setup Golang Environment uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 @@ -48,8 +51,6 @@ jobs: uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1 with: commit_message: "Update files for renovate" - commit_user_name: "renovate[bot]" - commit_user_email: "renovate[bot]@users.noreply.github.com" if: ${{ github.actor == 'renovate[bot]' }}