mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Updating discord workflow (#474)
* Updating docker action * adding version to message * adding way to get PR title and body * Adding input pass to workflows Workflow dispatches may not get push header info. Switching logic to pass needed title and body info through just in case. * adding token The description on this action is awful, it didn't mention needing a token. I found this solution from the repo's issues * parsing pr body * Updating parsing
This commit is contained in:
parent
9b816e61bd
commit
57f08b6998
2
.github/workflows/sonar-scan.yml
vendored
2
.github/workflows/sonar-scan.yml
vendored
@ -136,7 +136,7 @@ jobs:
|
|||||||
- name: Parse PR body
|
- name: Parse PR body
|
||||||
run: |
|
run: |
|
||||||
body='${{ steps.findPr.outputs.body }}'
|
body='${{ steps.findPr.outputs.body }}'
|
||||||
newBody=sed '$!s/$/\\n/' body | tr -d '\n'
|
newBody="${body//$'\n'/}"
|
||||||
echo $newBody
|
echo $newBody
|
||||||
echo "::set-output name=BODY::$newBody"
|
echo "::set-output name=BODY::$newBody"
|
||||||
id: parse-body
|
id: parse-body
|
||||||
|
Loading…
x
Reference in New Issue
Block a user