[api] monitor whether vercel image optimization is actually not on a 1000% anymore #65
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: Notify Discord on Bug Label | |
| on: | |
| issues: | |
| types: [labeled] | |
| jobs: | |
| notify_bug: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Send Bug Notification to Discord | |
| if: github.event.label.name == 'bug' | |
| run: | | |
| curl -H "Content-Type: application/json" \ | |
| -X POST \ | |
| -d "{ | |
| \"content\": \"🐞 **Bug Report Created!**\n**Title:** ${{ github.event.issue.title }}\n**Link:** ${{ github.event.issue.html_url }}\" | |
| }" \ | |
| ${{ secrets.DISCORD_WEBHOOK_URL }} |