mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Add Slack action
This commit is contained in:
parent
9714720943
commit
fa323dbc4c
1 changed files with 6 additions and 2 deletions
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -32,5 +32,9 @@ jobs:
|
||||||
run: sudo apt-get install -y pandoc nodejs pkg-config libxml2-dev libxslt-dev
|
run: sudo apt-get install -y pandoc nodejs pkg-config libxml2-dev libxslt-dev
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: ./.actions.sh
|
run: ./.actions.sh
|
||||||
|
- uses: 8398a7/action-slack@v3
|
||||||
# TODO(zzak, rkh): Add slack notification.
|
with:
|
||||||
|
status: ${{ job.status }}
|
||||||
|
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took # selectable (default: repo,message)
|
||||||
|
env:
|
||||||
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
|
||||||
|
|
Loading…
Reference in a new issue