notify/action.yml
Marcel S. Henselin 0b4fd7b258
All checks were successful
Sample Testing / my_job (push) Successful in 45s
chore: use Dockerfile
2026-04-16 10:15:11 +02:00

44 lines
1,008 B
YAML

name: 'Google Chat Action'
author: 'D Ther Htun'
description: 'Github actions for google chat Room Bot'
branding:
icon: 'at-sign'
color: 'green'
inputs:
project:
description: 'Github Project Name'
required: true
commit:
description: 'Github Commit ID'
required: true
branch:
description: 'Github Branch'
required: true
status:
description: 'Github Action Build Status'
required: true
actionid:
description: 'Current Running Action ID'
required: true
webhook:
description: 'Google Chat Webhook URL'
required: true
runs:
# using: 'docker'
using: 'composite'
steps:
- name: 'Run Google Chat Action'
shell: bash
run: |
docker run --rm -it $(docker build -q .)
#image: 'docker://dther/google-chat-action:v0.8'
#image: 'Dockerfile'
#args:
# - ${{ inputs.project }}
# - ${{ inputs.commit }}
# - ${{ inputs.branch }}
# - ${{ inputs.status }}
# - ${{ inputs.actionid }}
# - ${{ inputs.webhook }}