-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (31 loc) · 1.02 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
name: 'Build Test'
on:
workflow_dispatch:
inputs:
discord-url:
description: 'Discord Webhook URL'
required: false
slack-url:
description: 'Slack Webhook URL'
required: false
teams-url:
description: 'Teams Webhook URL'
required: false
jobs:
test:
name: Testing
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Testing Action
uses: ./
with:
discord-url: ${{ github.event.inputs.discord-url }}
teams-url: ${{ github.event.inputs.teams-url }}
slack-url: ${{ github.event.inputs.slack-url }}
color: 'info'
title: 'Test - Successful'
text: 'Test successfully ran'
fields: '[{"name": "status", "value": "success"}, {"name": "triggered by", "value": "${{ github.event.sender.login }}"}]'
buttons: '[{"label": "View Run", "url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"}]'