slack notification for PR's

pull/536/head
Hunter Long 2020-04-26 16:31:09 -07:00
parent 4d490ffa20
commit 06581af393
1 changed files with 18 additions and 0 deletions

View File

@ -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