mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-16 19:00:28 +01:00
Some checks are pending
🏗️ Build Apps / 🤖 Build Android APK (Phone) (push) Waiting to run
🏗️ Build Apps / 🤖 Build Android APK (TV) (push) Waiting to run
🏗️ Build Apps / 🍎 Build iOS IPA (Phone) (push) Waiting to run
🏗️ Build Apps / 🍎 Build iOS IPA (Phone - Unsigned) (push) Waiting to run
🏗️ Build Apps / 🍎 Build tvOS IPA (push) Waiting to run
🏗️ Build Apps / 🍎 Build tvOS IPA (Unsigned) (push) Waiting to run
🔒 Lockfile Consistency Check / 🔍 Check bun.lock and package.json consistency (push) Waiting to run
🛡️ CodeQL Analysis / 🔎 Analyze with CodeQL (actions) (push) Waiting to run
🛡️ CodeQL Analysis / 🔎 Analyze with CodeQL (javascript-typescript) (push) Waiting to run
🏷️🔀Merge Conflict Labeler / 🏷️ Labeling Merge Conflicts (push) Waiting to run
🌐 Translation Sync / sync-translations (push) Waiting to run
🚦 Security & Quality Gate / 📝 Validate PR Title (push) Waiting to run
🚦 Security & Quality Gate / 🔍 Vulnerable Dependencies (push) Waiting to run
🚦 Security & Quality Gate / 🚑 Expo Doctor Check (push) Waiting to run
🚦 Security & Quality Gate / 🔍 Lint & Test (check) (push) Waiting to run
🚦 Security & Quality Gate / 🔍 Lint & Test (format) (push) Waiting to run
🚦 Security & Quality Gate / 🔍 Lint & Test (i18n:check) (push) Waiting to run
🚦 Security & Quality Gate / 🔍 Lint & Test (lint) (push) Waiting to run
🚦 Security & Quality Gate / 🔍 Lint & Test (typecheck) (push) Waiting to run
🛡️ Trivy Security Scan / 🔎 Filesystem scan (push) Waiting to run
48 lines
1.8 KiB
YAML
48 lines
1.8 KiB
YAML
name: 🛎️ Discord Notification
|
|
permissions: {}
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened]
|
|
branches: [develop]
|
|
workflow_run:
|
|
workflows: ["*"]
|
|
types: [completed]
|
|
branches: [develop]
|
|
|
|
jobs:
|
|
notify:
|
|
runs-on: ubuntu-26.04
|
|
if: github.event_name == 'pull_request'
|
|
steps:
|
|
- name: 🛎️ Notify Discord
|
|
uses: Ilshidur/action-discord@d2594079a10f1d6739ee50a2471f0ca57418b554 # 0.4.0
|
|
env:
|
|
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
|
DISCORD_AVATAR: https://avatars.githubusercontent.com/u/193271640
|
|
with:
|
|
args: |
|
|
📢 New Pull Request in **${{ github.repository }}**
|
|
**Title:** ${{ github.event.pull_request.title }}
|
|
**By:** ${{ github.event.pull_request.user.login }}
|
|
**Branch:** ${{ github.event.pull_request.head.ref }}
|
|
🔗 ${{ github.event.pull_request.html_url }}
|
|
|
|
notify-on-failure:
|
|
runs-on: ubuntu-26.04
|
|
if: github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'failure'
|
|
steps:
|
|
- name: 🚨 Notify Discord on Failure
|
|
uses: Ilshidur/action-discord@d2594079a10f1d6739ee50a2471f0ca57418b554 # 0.4.0
|
|
env:
|
|
DISCORD_WEBHOOK: ${{ secrets.WEBHOOK_FAILED_JOB_URL }}
|
|
DISCORD_AVATAR: https://avatars.githubusercontent.com/u/193271640
|
|
with:
|
|
args: |
|
|
🚨 **Workflow Failed** in **${{ github.repository }}**
|
|
**Workflow:** ${{ github.event.workflow_run.name }}
|
|
**Branch:** ${{ github.event.workflow_run.head_branch }}
|
|
**Triggered by:** ${{ github.event.workflow_run.triggering_actor.login }}
|
|
**Commit:** ${{ github.event.workflow_run.head_commit.message }}
|
|
🔗 ${{ github.event.workflow_run.html_url }}
|