[workflow] specify ref and repo in checkout
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user