blob: 7ade5e51db9ab18043e8b3473222b5f5d473d3e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
name: discord-closed-issues
on:
issues:
types:
- closed
jobs:
deploy:
if: "!contains(github.event.issue.labels, 'duplicate') && !contains(github.event.issue.labels, 'wontfix')"
runs-on: ubuntu-latest
steps:
- name: Send closed issue notif
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_SEVEN_WONDERS }}
uses: Ilshidur/action-discord@0.3.0
with:
args: '[Issue #{{ EVENT_PAYLOAD.issue.number }}](<{{ EVENT_PAYLOAD.issue.html_url }}>) closed: {{ EVENT_PAYLOAD.issue.title }}'
|