From 8e984019fce3707145a38516c4c4a762a2925d49 Mon Sep 17 00:00:00 2001 From: Refringe Date: Sun, 20 Jul 2025 23:26:39 -0400 Subject: [PATCH] [workflow] reverts ref/branch setting --- .github/workflows/dotnet-format.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-format.yml b/.github/workflows/dotnet-format.yml index cf43844e..5980db8d 100644 --- a/.github/workflows/dotnet-format.yml +++ b/.github/workflows/dotnet-format.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v4 with: token: ${{ secrets.BYPASS_WORKFLOW_PAT || github.token }} - ref: ${{ github.event.pull_request.head.ref || github.ref_name }} + ref: ${{ github.head_ref }} - name: Setup .NET uses: actions/setup-dotnet@v4 @@ -39,4 +39,3 @@ jobs: commit_user_name: sp-tarkov-bot commit_user_email: singleplayertarkov@gmail.com commit_author: sp-tarkov-bot - branch: ${{ github.event.pull_request.head.ref || github.ref_name }}