File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 9
9
- name : Get Comment Body
10
10
id : get-comment-body
11
11
run : |
12
- body=$(cat .github/workflows/checklist.md)
12
+ existing=${{ github.event.pull_request.body }}
13
+ body="existing$'\n'$(cat .github/workflows/checklist.md)"
13
14
body="${body//'%'/'%25'}"
14
15
body="${body//$'\n'/'%0A'}"
15
16
body="${body//$'\r'/'%0D'}"
16
17
echo ::set-output name=body::$body
17
- # - name: Print Comment ID
18
- # run: |
19
- # echo ${{ github.event.pull_request }}
20
- # echo ${{ github.event.pull_request.comments }}
21
- # echo ${{ github.event.pull_request.comments[0] }}
22
- # echo ${{ github.event.pull_request.comments[0].id }}
23
18
- name : Update comment
24
19
# if: github.event.action == 'opened'
25
- # uses: peter-evans/create-or-update-comment@v1
26
20
uses : AsasInnab/pr-body-action@v1
27
21
with :
28
22
body : ${{ steps.get-comment-body.outputs.body }}
You can’t perform that action at this time.
0 commit comments