mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Updating discord action (#492)
* 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 * Updating docker workflow * Reverting back to default variables * fixing syntax error * removing heading syntax * updating parse * Updating parsing * Updating docker workflow * trying to remove newline * updating parsing * Replacement in parsing * Update sonar-scan.yml * testing passing pr body via artifact * Updating action version * syntax fix * Updating write
This commit is contained in:
parent
3ebbbc8861
commit
5f03ba80ce
12
.github/workflows/sonar-scan.yml
vendored
12
.github/workflows/sonar-scan.yml
vendored
@ -133,14 +133,10 @@ jobs:
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Write PR body
|
||||
uses: DamianReeves/write-file-action@v1.0
|
||||
with:
|
||||
path: ${{ env.home }}/.github/pr.txt
|
||||
contents: |
|
||||
body='${{ steps.findPr.outputs.body }}'
|
||||
echo $body
|
||||
write-mode: overwrite
|
||||
- name: Write PR Body
|
||||
run: |
|
||||
echo ${{ steps.findPr.outputs.body }} >> .github/pr.txt
|
||||
id: parse-body
|
||||
|
||||
- name: Upload PR Body as Artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
|
Loading…
x
Reference in New Issue
Block a user