Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Update discord action (#487)

Robbie Davis7424dedf4d83
diff --git a/.github/workflows/sonar-scan.yml b/.github/workflows/sonar-scan.yml
index 0afdc4278..51e0f6370 100644
--- a/.github/workflows/sonar-scan.yml
+++ b/.github/workflows/sonar-scan.yml
@@ -136,9 +136,12 @@ jobs:
- name: Parse PR body
run: |
body='${{ steps.findPr.outputs.body }}'
- newBody=$(echo $body | sed ':a;N;$!ba;s/\n/ /g')
- echo $newBody
- echo "::set-output name=BODY::$newBody"
+ echo $body
+ body="${body//'%'/'%25'}"
+ body="${body//$'\n'/'%0A'}"
+ body="${body//$'\r'/'%0D'}"
+ echo $body
+ echo "::set-output name=BODY::$body"
id: parse-body
- name: If Push to Develop, Trigger Docker Stable