Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
siniStar7 committed Dec 26, 2024
1 parent e29be27 commit 14e8d82
Showing 1 changed file with 34 additions and 51 deletions.
85 changes: 34 additions & 51 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,34 @@
name: Notify IRC Notifico
uses: openzfsonwindows/notify-irc@v1
inputs:
server:
description: 'IRC server'
default: 'irc.irc4fun.net'
required: true
port:
description: 'IRC server port'
default: 6697
required: true
password:
description: 'IRC server password'
required: false
channel: #IRC4Fun,#Development
description: 'IRC channel to message'
required: true
channel_key:
description: 'IRC channel password'
required: false
nickname: GitHub
description: 'IRC user nickname'
required: true
sasl_password:
description: 'IRC user SASL password'
required: false
eventpath:
description: 'path to EVENT_FILE'
required: true
notice:
description: 'Use NOTICE instead of PRIVMSG'
default: false
required: false
tls:
description: 'Connect to server using TLS'
default: true
required: false
verbose:
description: 'Enable verbose logging'
default: false
required: false
ansicolor:
description: 'Enable ansi color text'
default: false
required: false
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'message-square'
color: 'yellow'
name: Notify IRC

on:
push:
issues:
types:
- opened
- edited
- closed
issue_comment:
pull_request:
discussion:
types:
- created
- edited
- closed
- answered
discussion_comment:
create:
delete:

jobs:
notify-irc:
runs-on: ubuntu-latest

steps:
- name: Notify IRC
uses: openzfsonwindows/notify-irc@v1
with:
channel: "#Development,#IRC4Fun"
server: "irc.irc4fun.net"
nickname: "GitHub"
ansicolor: "true"
eventpath: ${{ github.event_path }}

0 comments on commit 14e8d82

Please sign in to comment.