File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 2222 with :
2323 fetch-depth : 0
2424 persist-credentials : false
25+ ref : ${{ github.event.pull_request.head.sha }}
2526
2627 - name : Set up Python
2728 uses : actions/setup-python@v5
4344 if [ "$GITHUB_EVENT_NAME" = "pull_request_target" ]; then
4445 BASE_REF="$GITHUB_BASE_SHA"
4546 HEAD_REF="$GITHUB_HEAD_SHA"
47+ echo "DEBUG: Comparing $BASE_REF to $HEAD_REF" >&2
48+ echo "DEBUG: Current HEAD is $(git rev-parse HEAD)" >&2
49+ echo "DEBUG: Available commits:" >&2
50+ git log --oneline -5 >&2
4651 DIFF_OUTPUT=$(git diff $BASE_REF $HEAD_REF -- zephyr/module.yml || echo "No changes found")
52+ echo "DEBUG: Diff result: $DIFF_OUTPUT" >&2
4753 else
4854 # For push events, get the previous commit that modified module.yml
4955 PREV_COMMIT=$(git log --oneline --follow -- zephyr/module.yml | head -2 | tail -1 | cut -d' ' -f1)
You can’t perform that action at this time.
0 commit comments