mirror of https://github.com/statping/statping
slack notification for PR's
parent
4d490ffa20
commit
06581af393
|
@ -164,3 +164,21 @@ jobs:
|
||||||
environment: ./dev/postman_environment.json
|
environment: ./dev/postman_environment.json
|
||||||
timeoutRequest: 15000
|
timeoutRequest: 15000
|
||||||
delayRequest: 1000
|
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
|
||||||
|
|
Loading…
Reference in New Issue