Create push_events_to_discord.yml
This commit is contained in:
parent
8cd18c3218
commit
d2e0695d73
1 changed files with 16 additions and 0 deletions
16
.github/workflows/push_events_to_discord.yml
vendored
Normal file
16
.github/workflows/push_events_to_discord.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
name: Push Events to Discord
|
||||
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- opened
|
||||
|
||||
jobs:
|
||||
push-events:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: App Request Events
|
||||
if: ${{ github.event_name == 'issues' && github.event.action == 'opened' && contains(github.event.issue.labels.*.name, 'App Request')}}
|
||||
uses: joseph-montanez/forward-event-action@v3.0.0
|
||||
with:
|
||||
webhook: ${{ secrets.Discord_CasaOS_App_Request_Webhook }}
|
Loading…
Reference in a new issue