Skip to content
Merged
Changes from all commits
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
20 changes: 18 additions & 2 deletions .github/workflows/sdk_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

discover-integration-v2-tests:
runs-on: ubuntu-latest
outputs:
outputs:
projects: ${{ steps.set-matrix.outputs.projects }}
steps:
- uses: actions/checkout@v6
Expand Down Expand Up @@ -364,7 +364,7 @@ jobs:
))
')
echo "matrix=$files" >> $GITHUB_OUTPUT

publish:
permissions:
id-token: write # Enable GitHub OIDC token issuance for this job
Expand Down Expand Up @@ -393,3 +393,19 @@ jobs:
run: |
dotnet nuget push "${{ matrix.package }}" --skip-duplicate --api-key ${{ steps.login.outputs.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json


# Opens (or comments on) a tracking issue only when the publish job (NuGet
# push) itself fails. Any upstream build/test failure skips publish, whose
# result is then 'skipped' (not 'failure'), so CI flakes never open issues.
# Prerelease tags (-rc/-dev/-prerelease) are excluded to match the publish job.
notify-on-failure:
needs: [publish]
if: always() && startsWith(github.ref, 'refs/tags/v') && !(endsWith(github.ref, '-rc') || endsWith(github.ref, '-dev') || endsWith(github.ref, '-prerelease')) && needs.publish.result == 'failure'
permissions:
issues: write
actions: read
uses: dapr/.github/.github/workflows/open-issue-on-failure.yml@main
Comment thread
cicoyle marked this conversation as resolved.
with:
title: "Release workflow failed: ${{ github.workflow }} (${{ github.ref_name }})"
labels: "release,ci/release-failure"
mention: "@dapr/maintainers-dotnet-sdk @dapr/approvers-dotnet-sdk"
Loading