From 5e2aa729332506de87d75968c340759181febaed Mon Sep 17 00:00:00 2001 From: Refringe Date: Sun, 20 Jul 2025 23:19:07 -0400 Subject: [PATCH] [workflow] sets format ref/branch --- .github/workflows/dotnet-format.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/dotnet-format.yml b/.github/workflows/dotnet-format.yml index 066617da..cf43844e 100644 --- a/.github/workflows/dotnet-format.yml +++ b/.github/workflows/dotnet-format.yml @@ -19,6 +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 }} - name: Setup .NET uses: actions/setup-dotnet@v4 @@ -38,3 +39,4 @@ 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 }}