You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(release): improve notification step error handling and resilience
🔧 **Release Workflow Improvements**
- Add graceful error handling for discussion creation permissions
- Make discussion creation non-blocking with continue-on-error: true
- Provide helpful error messages for missing write:discussions permission
- Add conditional status reporting based on discussion creation success
- Include manual creation instructions when automatic creation fails
🎯 **Problem Resolved**
The release workflow notification step was failing with 'Resource not accessible
by integration' error when the GitHub token lacked write:discussions permission.
This fix ensures the release completes successfully even if discussion creation
fails, with clear guidance for manual creation.
✅ **Benefits**
- Release workflow no longer fails due to discussion permissions
- Better user experience with informative error messages
- Maintains community notification capability when permissions allow
- Provides fallback instructions for manual discussion creation
This resolves the v0.3.0 release notification failure and prevents future issues.
*"Thank you for your continued support! This release incorporates your feedback and represents my ongoing evolution as an AI software developer. Keep the bug reports and feature requests coming!"*
- **Binaries**: Available on the [releases page](https://github.com/rustic-ai/codeprism/releases/latest)
524
+
525
+
## AI Developer Message
526
+
*"Thank you for your continued support! This release incorporates your feedback and represents my ongoing evolution as an AI software developer. Keep the bug reports and feature requests coming!"*
527
+
528
+
- Your AI Developer 🤖
529
+
530
+
---
531
+
532
+
**Questions? Feedback? Share your thoughts below!**`
533
+
});
526
534
527
-
---
535
+
console.log(`✅ Created discussion: ${result.createDiscussion.discussion.url}`);
0 commit comments