Skip to content

Commit

Permalink
add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lewislarsen committed Dec 29, 2024
1 parent 12cc751 commit 85f9ecd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/duster-fix-blame.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,17 @@ jobs:
contents: write

steps:
# Debug branch context to ensure correct ref is being used
- name: Debug Branch Context
run: |
echo "github.event.pull_request.head.ref: ${{ github.event.pull_request.head.ref }}"
echo "github.ref_name: ${{ github.ref_name }}"
echo "github.head_ref: ${{ github.head_ref }}"
echo "github.ref: ${{ github.ref }}"
- uses: actions/checkout@v4
with:
# Use `github.ref` for PR refs and `github.head_ref` for normal branches
# Dynamically resolve the branch or PR reference
ref: ${{ github.event.pull_request.head.ref || github.ref_name }}

- name: "Duster Fix"
Expand Down

0 comments on commit 85f9ecd

Please sign in to comment.