diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 6911a1f..bde8b27 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -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' \ No newline at end of file +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 }} \ No newline at end of file