-
Notifications
You must be signed in to change notification settings - Fork 3
61 lines (52 loc) · 1.44 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
name: Notification test
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Text only
uses: ./
with:
token: ${{ secrets.TOKEN }}
text: ${{ github.run_id }} (1/8) Alert message
- name: Full fields
uses: ./
with:
token: ${{ secrets.TOKEN }}
title: Alert title
text: ${{ github.run_id }} (2/8) Alert message
priority: highest
level: success
- name: Verbose
uses: ./
with:
token: ${{ secrets.TOKEN }}
verbose: ${{ github.run_id }} (3/8) Verbose message
- name: Info
uses: ./
with:
token: ${{ secrets.TOKEN }}
info: ${{ github.run_id }} (4/8) Info message
- name: Notice
uses: ./
with:
token: ${{ secrets.TOKEN }}
notice: ${{ github.run_id }} (5/8) Notice message
- name: Success
uses: ./
with:
token: ${{ secrets.TOKEN }}
success: ${{ github.run_id }} (6/8) Success message
- name: Warning
uses: ./
with:
token: ${{ secrets.TOKEN }}
warning: ${{ github.run_id }} (7/8) Warning message
- name: Error
uses: ./
with:
token: ${{ secrets.TOKEN }}
error: ${{ github.run_id }} (8/8) Error message