diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-08-06 20:09:04 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-08-06 20:09:04 +0300 |
commit | 162e47aebedb4138f5bad9640bc0e7ae954d8f44 (patch) | |
tree | fd4261bc8ef0e437db5b70ec33ef890fc263a97c /.github/workflows/irc.yml | |
parent | 50629c73c8c96d2c8997d7d1654c36184f432d19 (diff) | |
download | sciteco-162e47aebedb4138f5bad9640bc0e7ae954d8f44.tar.gz |
IRC workflow: removed excess ` and "
Hopefully fixes the workflow.
Diffstat (limited to '.github/workflows/irc.yml')
-rw-r--r-- | .github/workflows/irc.yml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/.github/workflows/irc.yml b/.github/workflows/irc.yml index 63edd78..7aba3f8 100644 --- a/.github/workflows/irc.yml +++ b/.github/workflows/irc.yml @@ -25,14 +25,19 @@ jobs: - name: Get log id: get_log run: | - echo 'log<<EOF' >>$GITHUB_OUTPUT - git log --pretty="format:%h %s" --reverse \ - ${{ steps.last_successful_commit.outputs.commit_hash }}..HEAD`" >>$GITHUB_OUTPUT - echo 'EOF' >>$GITHUB_OUTPUT + { + echo 'LOG<<EOF' + git log --pretty="format:%h %s" --reverse \ + ${{ steps.last_successful_commit.outputs.commit_hash }}..HEAD + echo EOF + } >> "$GITHUB_OUTPUT" - name: Post IRC message uses: rectalogic/notify-irc@v1 with: channel: "#sciteco" server: "irc.libera.chat" nickname: git-bot - message: ${{ steps.get_log.outputs.log }} + # NOTE: There is also ${{ github.event.ref }} ${{ join(github.event.commits.*.message) }} + # but it probably doesn't give us the commits since the last succesful one, but simply everything + # belonging to the push. + message: ${{ steps.get_log.outputs.LOG }} |