Skip to content

feat(libmodule): prepare development release assets #1

feat(libmodule): prepare development release assets

feat(libmodule): prepare development release assets #1

name: Repository Notifications
on:
push:
branches:
- "**"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: repository-notifications-${{ github.ref }}
cancel-in-progress: false
jobs:
notify:
name: Notify repository channel
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Send Discord repository notification
continue-on-error: true
env:
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_PUSH_WEBHOOK_URL }}
NOTIFICATION_KIND: ${{ github.event_name == 'workflow_dispatch' && 'test' || 'push' }}
run: python3 .github/scripts/notify-discord.py "$NOTIFICATION_KIND"