v0.7.0-dev.3 #3
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: Discord Pre-release Notification | |
| on: | |
| release: | |
| types: [prereleased] | |
| jobs: | |
| notify-discord: | |
| runs-on: ubuntu-latest | |
| if: github.event.release.target_commitish == 'dev' | |
| steps: | |
| - name: Send Discord Pre-release Notification | |
| uses: sarisia/actions-status-discord@v1 | |
| with: | |
| webhook: ${{ secrets.DISCORD_HATCH_ANNOUNCEMENTS }} | |
| nodetail: true | |
| # No content field = no mention for pre-releases | |
| title: "🧪 Hatch Pre-release Available for Testing" | |
| description: | | |
| **Version `${{ github.event.release.tag_name }}`** is now available for testing! | |
| ⚠️ **This is a pre-release** - expect potential bugs and breaking changes | |
| 🔬 Perfect for testing new features and providing feedback | |
| 📋 Click [here](${{ github.event.release.html_url }}) to view what's new and download | |
| Help us make *Hatch!* better by testing and reporting [issues](https://github.com/CrackingShells/Hatch/issues)! 🐛➡️✨ | |
| color: 0xff9500 # Orange color for pre-release | |
| username: "Cracking Shells Pre-release Bot" | |
| image: "https://github.com/CrackingShells/.github/blob/main/resources/images/hatch_icon_dark_bg_transparent.png" | |
| avatar_url: "https://github.com/CrackingShells/.github/blob/main/resources/images/cs_core_dark_bg.png" |