Skip to content

Commit

Permalink
build: updated issues workflow with 'help wanted'
Browse files Browse the repository at this point in the history
See #1310
  • Loading branch information
itzg committed Jan 27, 2022
1 parent 21602a7 commit b0817f2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/issue-label.yml
Expand Up @@ -3,15 +3,18 @@ on:
types: [labeled]

env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_ISSUES_WEBHOOK }}

jobs:
labelNotify:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: notify
if: github.event.label.name == 'enhancement' || github.event.label.name == 'bug'
if: >
github.event.label.name == 'enhancement'
|| github.event.label.name == 'bug'
|| github.event.label.name == 'help wanted'
uses: Ilshidur/action-discord@master
with:
args: "[${{ github.event.issue.title }}](<${{ github.event.issue.html_url }}>) added `${{ github.event.label.name }}` label"

0 comments on commit b0817f2

Please sign in to comment.