Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
  • Loading branch information
aaronpowell and Copilot authored Sep 2, 2025
commit 71b95bdf7188fc1f8d234b3de61593cd68c0c726
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ jobs:
run: |
LABEL="${SKIP_PUBLISH_LABEL}"
# Get the first PR associated with this commit (if any)
number=$(gh api -H "Accept: application/vnd.github.groot-preview+json" \
number=$(gh api -H "Accept: application/vnd.github+json" \
"/repos/${{ github.repository }}/commits/${{ github.sha }}/pulls" --jq '.[0].number' 2>/dev/null || echo "")
if [ -z "$number" ] || [ "$number" = "null" ]; then
# No PR found for this commit -> do not skip by default
Expand Down
Loading