Skip to content

Commit

Permalink
remove newlines from commit messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan authored Aug 10, 2022
1 parent 67c5992 commit 3034f75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ jobs:
- uses: actions/checkout@v1
- name: Dispatch event to ${{ matrix.backend }}
run: |
curl --fail -X POST https://api.github.com/repos/haxeui/${{ matrix.backend }}/dispatches -H 'Accept: application/vnd.github.everest-preview+json' -H 'Authorization: Bearer ${{ secrets.GH_TOKEN }}' --data "{\"event_type\": \"haxeui-core push: ${{ github.event.head_commit.message }}\"}"
export commit_message="$(echo "${{ github.event.head_commit.message }}"|tr -d '\n')"
curl --fail -X POST https://api.github.com/repos/haxeui/${{ matrix.backend }}/dispatches -H 'Accept: application/vnd.github.everest-preview+json' -H 'Authorization: Bearer ${{ secrets.GH_TOKEN }}' --data "{\"event_type\": \"haxeui-core push: $commit_message\"}"

0 comments on commit 3034f75

Please sign in to comment.