summaryrefslogtreecommitdiff
path: root/.github/workflows/discord-closed-issues.yml
blob: ccf9af787b3b2873ddd2da89b8964ea9c77a7e4a (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 }}'
bgstack15