- Update release workflow Node.js version from 18 to 20 to match package.json requirements - Remove push trigger from Discord workflow to reduce notification spam This should resolve the semantic-release content-length header error after org migration.
16 lines
472 B
YAML
16 lines
472 B
YAML
name: Discord Notification
|
|
|
|
on: [pull_request, release, create, delete, issue_comment, pull_request_review, pull_request_review_comment]
|
|
|
|
jobs:
|
|
notify:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Notify Discord
|
|
uses: sarisia/actions-status-discord@v1
|
|
if: always()
|
|
with:
|
|
webhook: ${{ secrets.DISCORD_WEBHOOK }}
|
|
status: ${{ job.status }}
|
|
title: "Triggered by ${{ github.event_name }}"
|
|
color: 0x5865F2 |