[workflow] specify ref and repo in checkout

This commit is contained in:
Refringe
2025-07-21 09:06:39 -04:00
parent 3901a91f45
commit daf0902e9f
+3 -2
View File
@@ -19,7 +19,8 @@ jobs:
uses: actions/checkout@v4
with:
token: ${{ secrets.BYPASS_WORKFLOW_PAT || github.token }}
ref: ${{ github.head_ref }}
ref: ${{ github.event.pull_request.head.ref || github.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
- name: Setup .NET
uses: actions/setup-dotnet@v4
@@ -33,7 +34,7 @@ jobs:
run: csharpier format .
- name: Auto Commit Changes
uses: stefanzweifel/git-auto-commit-action@v5
uses: stefanzweifel/git-auto-commit-action@v6
with:
commit_message: .NET Format Style Fixes
commit_user_name: sp-tarkov-bot