Add failure issue notifications#8583
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8583 +/- ##
=========================================
Coverage 91.61% 91.61%
- Complexity 10310 10312 +2
=========================================
Files 1013 1013
Lines 27260 27260
Branches 3201 3201
=========================================
+ Hits 24973 24975 +2
+ Misses 1560 1559 -1
+ Partials 727 726 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR standardizes “workflow failure -> tracking issue” notifications by wiring several scheduled and main-only workflows to the open-telemetry/shared-workflows reusable workflow that opens/comments/closes a GitHub issue based on the upstream job result, improving visibility beyond GitHub’s limited scheduled-workflow notifications.
Changes:
- Add a
workflow-notificationjob to multiple workflows that callsopen-telemetry/shared-workflows/.github/workflows/workflow-failure-issue.yml@v0.3.1and passes a computedsuccessboolean fromneeds.*.result. - Update existing failure-notification usage to shared-workflows
v0.3.1(pinned by SHA). - Remove the now-unused local reusable workflow
.github/workflows/reusable-open-issue-on-failure.yml.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/sonatype-guide-dependency-audit-daily.yml | Update failure-issue notification to shared-workflows v0.3.1 and simplify the notification job condition. |
| .github/workflows/reusable-open-issue-on-failure.yml | Delete local reusable workflow previously used to open an issue via gh. |
| .github/workflows/ossf-scorecard.yml | Add failure-issue notification job tied to the analysis job result. |
| .github/workflows/javadoc-crawler.yml | Add failure-issue notification job tied to the crawl job result. |
| .github/workflows/issue-management-stale-action.yml | Add failure-issue notification job tied to the stale job result. |
| .github/workflows/fossa.yml | Add failure-issue notification job tied to the fossa job result. |
| .github/workflows/codeql.yml | Fix indentation for category and add schedule-only failure-issue notification tied to analyze. |
| .github/workflows/build-tracecontext-testsuite.yml | Add failure-issue notification job tied to the publish job result. |
| .github/workflows/build-daily.yml | Update failure-issue notification to shared-workflows v0.3.1 and simplify the notification job condition. |
| .github/workflows/benchmark.yml | Add failure-issue notification job tied to the sdk-benchmark job result. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Add failure issue notifications to scheduled workflows and workflows that run only on pushes to
main, making failures visible to the full team instead of relying on GitHub’s limited scheduled-workflow notifications.