We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c93852f commit d203cc2Copy full SHA for d203cc2
.github/workflows/notify-irc.yaml
@@ -5,9 +5,13 @@ on:
5
- master
6
jobs:
7
notify:
8
- name: Send request
+ name: Checkout and notify
9
runs-on: ubuntu-latest
10
steps:
11
- - run: |
12
- curl "${{ secrets.IRC_NOTIFY_URL }}" -F target=#gonic -F 'message=push to master (@${{ github.event.head_commit.author.username }}) ${{ github.event.head_commit.message }}' >/dev/null 2>&1
+ - name: Checkout repository
+ uses: actions/checkout@v3
13
+ - name: Notify
14
+ run: |
15
+ set +x e
16
+ git log -1 --pretty="push to master (@%an) %s" | curl "${{ secrets.IRC_NOTIFY_URL }}" -F target=#gonic -F message=@- >/dev/null 2>&1
17
exit 0
0 commit comments