Implement ConnectorHealthCheck for ASP.NET Core monitoring #108
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Ratatosk PR Build | |
| permissions: | |
| contents: read | |
| packages: read | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| env: | |
| DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | |
| DOTNET_NOLOGO: true | |
| DOTNET_CLI_TELEMETRY_OPTOUT: true | |
| jobs: | |
| build: | |
| name: "Build and Test" | |
| uses: ./.github/workflows/build-test.yml | |
| with: | |
| configuration: Release | |
| summary: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| if: always() | |
| steps: | |
| - name: PR Build Summary | |
| run: | | |
| echo "## 🔍 Pull Request Build Summary" >> $GITHUB_STEP_SUMMARY | |
| echo "" >> $GITHUB_STEP_SUMMARY | |
| echo "| Property | Value |" >> $GITHUB_STEP_SUMMARY | |
| echo "|----------|-------|" >> $GITHUB_STEP_SUMMARY | |
| echo "| PR Number | #${{ github.event.number }} |" >> $GITHUB_STEP_SUMMARY | |
| echo "| Source Branch | \`${{ github.head_ref }}\` |" >> $GITHUB_STEP_SUMMARY | |
| echo "| Target Branch | \`${{ github.base_ref }}\` |" >> $GITHUB_STEP_SUMMARY | |
| echo "| Build Status | ${{ needs.build.result == 'success' && '✅ Success' || '❌ Failed' }} |" >> $GITHUB_STEP_SUMMARY | |
| echo "| Frameworks | .NET 8, 9, 10 |" >> $GITHUB_STEP_SUMMARY | |
| echo "" >> $GITHUB_STEP_SUMMARY | |
| if [ "${{ needs.build.result }}" == "success" ]; then | |
| echo "✅ **Build Successful**: All tests passed." >> $GITHUB_STEP_SUMMARY | |
| else | |
| echo "❌ **Build Failed**: Please check the build logs for more details." >> $GITHUB_STEP_SUMMARY | |
| fi | |
| if [ "${{ github.event.pull_request.draft }}" == "true" ]; then | |
| echo "" >> $GITHUB_STEP_SUMMARY | |
| echo "🚧 **Draft PR**: This pull request is marked as draft." >> $GITHUB_STEP_SUMMARY | |
| fi | |
| shell: bash |