From 06581af393816aebaf03670a0ef242e3e62b1803 Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Sun, 26 Apr 2020 16:31:09 -0700 Subject: [PATCH] slack notification for PR's --- .github/workflows/dev.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 5f9fbb90..87f7e784 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -164,3 +164,21 @@ jobs: environment: ./dev/postman_environment.json timeoutRequest: 15000 delayRequest: 1000 + + pr-slack-update: + needs: [pr-test, pr-test-postman] + runs-on: ubuntu-latest + steps: + - name: Checkout Statping Repo + uses: actions/checkout@v2 + + - name: Setting ENV's + run: echo ::set-env name=VERSION::$(cat version.txt) + shell: bash + + - name: Slack Notification + uses: rtCamp/action-slack-notify@v2.0.0 + env: + SLACK_WEBHOOK: ${{ secrets.SLACK_URL }} + SLACK_CHANNEL: pull-requests + SLACK_USERNAME: StatpingDev