From 3066391fd1fc52735ea1b5f9288eaf330b2ecc26 Mon Sep 17 00:00:00 2001 From: Willow Carretero Chavez Date: Tue, 12 Dec 2023 00:03:56 -0500 Subject: [PATCH] Notify on issue being labeled with help wanted (#421) --- .github/workflows/help_wanted_notify.yml | 17 +++++++++++++++++ .../workflows/{notify.yml => push_notify.yml} | 0 2 files changed, 17 insertions(+) create mode 100644 .github/workflows/help_wanted_notify.yml rename .github/workflows/{notify.yml => push_notify.yml} (100%) diff --git a/.github/workflows/help_wanted_notify.yml b/.github/workflows/help_wanted_notify.yml new file mode 100644 index 000000000..e98a564e6 --- /dev/null +++ b/.github/workflows/help_wanted_notify.yml @@ -0,0 +1,17 @@ +name: notify social media + +on: + issues: + types: + - labeled + +jobs: + notify: + if: github.event.label.name == 'help wanted' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Actions for Discord + env: + DISCORD_WEBHOOK: ${{ secrets.DISCORD_HELP_WANTED }} + uses: Ilshidur/action-discord@0.3.2 diff --git a/.github/workflows/notify.yml b/.github/workflows/push_notify.yml similarity index 100% rename from .github/workflows/notify.yml rename to .github/workflows/push_notify.yml