summaryrefslogtreecommitdiff
path: root/.github/workflows/discord-closed-issues.yml
blob: 40544984e80eeed6be0bce9c22aa321d646a49d7 (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.2
        with:
          args: '[Issue #{{ EVENT_PAYLOAD.issue.number }}](<{{ EVENT_PAYLOAD.issue.html_url }}>) closed: {{ EVENT_PAYLOAD.issue.title }}'
bgstack15