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 }}'