Skip to content

push with base

push with base #38

Workflow file for this run

name: Notify IRC
on:
push:
branches:
- main # Or your desired branch
jobs:
notify-irc:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set execute permissions
run: chmod +x .github/workflows/notify-irc.sh
- name: Generate notification message
id: notify
run: |
.github/workflows/notify-irc.sh "$COMMITS_JSON" "$GITHUB_ACTOR" "$GITHUB_REF_NAME" "$GITHUB_COMPARE_URL"
- name: Decode Message for IRC Notify
id: decode-message
run: |
ENCODED_MESSAGE="VGVzdCBsaW5lIG9uZQpUZXN0IGxpbmUgdHdvCg=="
DECODED_MESSAGE=$(echo "$ENCODED_MESSAGE" | base64 --decode)
echo "decoded_message=$DECODED_MESSAGE" >> $GITHUB_ENV
- name: Notify IRC
uses: rectalogic/notify-irc@v1
channel: "#OpenZFS-Windows"

Check failure on line 32 in .github/workflows/notify-irc.yml

View workflow run for this annotation

GitHub Actions / Notify IRC

Invalid workflow file

The workflow is not valid. .github/workflows/notify-irc.yml (Line: 32, Col: 9): Unexpected value 'channel' .github/workflows/notify-irc.yml (Line: 33, Col: 9): Unexpected value 'server'
server: "irc.libera.chat"
nickname: "zfs-consus"
with:
message: |
${{ steps.encode-message.outputs.message }} | base64 --decode | xargs