From 7bd93a39a5fd41f5e15d73a5519df52f0a2cebfd Mon Sep 17 00:00:00 2001 From: Kervin Hu Date: Tue, 28 Nov 2023 10:38:35 +0800 Subject: [PATCH] add workflow --- .github/workflows/gh-issue-open.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/gh-issue-open.yml diff --git a/.github/workflows/gh-issue-open.yml b/.github/workflows/gh-issue-open.yml new file mode 100644 index 0000000..685ad49 --- /dev/null +++ b/.github/workflows/gh-issue-open.yml @@ -0,0 +1,14 @@ +name: Send GitHub new issues to Slack + +on: + issues: + types: [opened] + +jobs: + issue-opened: + runs-on: ubuntu-latest + steps: + - name: Send issue to solution slack + uses: slackapi/slack-github-action@v1.19.0 + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} \ No newline at end of file