Skip to content

Test

Test #33

Workflow file for this run

name: Test
on:
workflow_dispatch:
inputs:
dry-run:
type: boolean
description: 'Dry run'
required: false
default: false
discord-url:
type: string
description: 'Discord Webhook URL'
required: false
slack-url:
type: string
description: 'Slack Webhook URL'
required: false
teams-url:
type: string
description: 'Teams Webhook URL'
required: false
jobs:
test:
name: Testing
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Testing Action
uses: ./
with:
dry-run: ${{ github.event.inputs.dry-run }}
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 }}"}]'